Skip to content

CodeChalenges/english-numbers

Repository files navigation

Build Status Code Climate Issue Count

English Number

This gem provides an easy way to translate numbers to their English language representation.

Setup

To install all necessary dependencies:

bundle install

Tests

This gem uses Rspec as test framework. So, to run the specs:

bundle exec rspec

Installation

To build the gem:

gem build english-number.gemspec

After that, just install the gem:

gem install english-number-{gem version}.gem

Usage

Inside Ruby interpreter:

require 'english_number/english_number'

EnglishNumber.new(25).in_english # twenty-five

License

The gem is available as open source under the terms of the MIT License.

About

A simple Ruby script to translate numbers into their english transcription

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published