Sha256: 23689867a032f4ca7f280f292d940e91ba5756c5a49598ced4050e973b639f70
Contents?: true
Size: 922 Bytes
Versions: 1
Compression:
Stored size: 922 Bytes
Contents
# WordScramble 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. ## Installation 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. ## Usage You can use it from the command line, like this descramble <word> Or you can call the Descrambler library directly ```ruby descrambler = WordScramble::Descrambler.new("liopts") descrambler.matching_words # => ["pilots", "spoilt", "pistol"] ``` ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Added some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
word_scramble-0.1.0 | README.md |