Sha256: e60a40c3edb699a714c292b2992427637d3b5fe04ccae6d61f6c8b1a5fd2042a
Contents?: true
Size: 870 Bytes
Versions: 2
Compression:
Stored size: 870 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 ## 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("realapin") descrambler.matching_words # => ["airplane", ... ] ``` ## 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
word_scramble-0.0.2 | README.md |
word_scramble-0.0.1 | README.md |