Sha256: 6541a3b4bcb3bed3d3f18fab0f4c175488e0bcd797a1abcd72c167a93ff8133a
Contents?: true
Size: 1.27 KB
Versions: 1
Compression:
Stored size: 1.27 KB
Contents
# EasyToDictateNumbers EasyToDictateNumbers is a Ruby gem that allows for easy conversion of numbers into their word representations. This gem is useful in scenarios where numbers need to be communicated clearly, such as in telephone conversations or when dictating information. ## Installation Add this line to your application's Gemfile: ```ruby gem 'easy_to_dictate_numbers' ``` And then execute: ```bash $ bundle install ``` Or install it yourself as: ```bash $ gem install easy_to_dictate_numbers ``` ## Usage To use EasyToDictateNumbers, simply call the `to_dictable` method on any integer. This method is added to the `Integer` class and converts the number into its word representation. ```ruby require 'easy_to_dictate_numbers' puts 123.to_dictable # Output: "one two three" ``` ## Development After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment. ## Contributing Bug reports and pull requests are welcome on GitHub. This project aims to be a safe, welcoming space for collaboration, and contributors are expected to adhere to a code of conduct. ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
easy_to_dictate_numbers-0.1.0 | README.md |