This gem is for generating real words from scrambled strings. I wrote it to solve a puzzle that they passed out in the Virgin Airlines waiting lounge when the flight was delayed.
Add this line to your application's Gemfile:
gem 'word_scramble'
And then execute:
$ bundle
Or install it yourself as:
$ gem install word_scramble
This has been tested on Ubuntu and OS X.
You can use it from the command line, like this
descramble <word>
Or you can call the Descrambler library directly
descrambler = WordScramble::Descrambler.new("liopts")
descrambler.matching_words # => ["pilots", "spoilt", "pistol"]
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
This is just to see how Tower works.