/numbertoword

A little demo gem that turns numbers into words.

Primary LanguageRubyMIT LicenseMIT

Numbertoword

A little demo gem that changes numbers into words.

Requirements

This gem is built for ruby 2.0.0 and above.

Installation

Add this line to your application's Gemfile:

gem 'numbertoword', :git => 'https://github.com/nikkij/numbertoword.git'

And then execute:

$ bundle

Or install locally for development or to run tests:

$ git clone https://github.com/nikkij/numbertoword.git

$ cd numbertoword

$ rake install

To run the rspec tests make sure you have the rspec gem installed or specified as a dependency in your Gemfile.

Usage

Just type the command "numbertoword" at the console.

$ numbertoword

At the prompt enter any number from 1 - 999,999,999 .

Contributing

  1. Fork it ( https://github.com/[my-github-username]/numbertoword/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request