This gem provides an easy way to translate numbers to their English language representation.
To install all necessary dependencies:
bundle install
This gem uses Rspec as test framework. So, to run the specs:
bundle exec rspec
To build the gem:
gem build english-number.gemspec
After that, just install the gem:
gem install english-number-{gem version}.gem
Inside Ruby interpreter:
require 'english_number/english_number'
EnglishNumber.new(25).in_english # twenty-five
The gem is available as open source under the terms of the MIT License.