Sha256: 3af8a6fdc7262938b3cd4618352493193f9d34df8c5e192103331ef7c75d49f0
Contents?: true
Size: 1.23 KB
Versions: 1
Compression:
Stored size: 1.23 KB
Contents
# Phone number to word `ph_no_to_word` allows given 10 character phone number to convert into a word that is contained in a dictionary. The phone number should not contain 0 or 1. The matching words contain atleast 3 characters. ## Installation Add this line to your application's Gemfile: ```ruby gem 'ph_no_to_word' ``` And then execute: $ bundle Or install it yourself as: $ gem install ph_no_to_word ## Usage ```ruby PhNoToWord.convert '2282668687' Results: * catamounts * acta, mounts * act, amounts * act, contour * cat, boot, our ``` ## Contributing Bug reports and pull requests are welcome on Bitbucket at https://bitbucket.org/abhilashak/ph_no_to_word. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct. ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT). ## Code of Conduct Everyone interacting in the PhNoToWord project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/ph_no_to_word/blob/master/CODE_OF_CONDUCT.md).
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ph_no_to_word-0.1.0 | README.md |