ToWords
This Gem converts numbers into words.
e.g.
25.to_words('dative') # "двадцати пяти"
70.to_words('dative') # "семидесяти"
70.to_words() # "семьдесят"
With large numbers may be inaccurate, fix ... soon :)
Installation
Add this line to your application's Gemfile:
gem 'to_words', '1.1.1'
And then execute:
$ bundle install
Usage
TODO: Write usage instructions here
Contributing
- Fork it ( https://github.com/VasiliyG/to_words/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request