Extends ruby String class with to_p method which converst strings to their phonetic alphabet representation.
Installation
Add this line to your application's Gemfile:
gem 'phonetic_alphabet'
And then execute:
$ bundle
Or install it yourself as:
$ gem install phonetic_alphabet
Usage
Just call to_p on a string.
Contributing
- Fork it ( https://github.com/dnshl/phonetic_alphabet/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request