Menu

Tree [f176d4] master /
 History

HTTPS access


File Date Author Commit
 lib 2014-05-03 Ramesh Jha Ramesh Jha [0124e0] first release
 pkg 2014-05-03 Ramesh Jha Ramesh Jha [0124e0] first release
 spec 2014-05-03 Ramesh Jha Ramesh Jha [0124e0] first release
 .gitignore 2014-05-03 Ramesh Jha Ramesh Jha [f9e1c8] added gitignore
 Gemfile 2014-05-03 Ramesh Jha Ramesh Jha [0124e0] first release
 Gemfile.lock 2014-05-03 Ramesh Jha Ramesh Jha [f9e1c8] added gitignore
 LICENSE.txt 2014-05-03 Ramesh Jha Ramesh Jha [0124e0] first release
 README.md 2014-05-03 Ramesh Jha Ramesh Jha [f176d4] fixed another formatting error
 Rakefile 2014-05-03 Ramesh Jha Ramesh Jha [0124e0] first release
 anagram_solver.gemspec 2014-05-03 Ramesh Jha Ramesh Jha [18cfcf] changed the name of the gem

Read Me

Anagram Solver

It's a simple ruby gem for solving anagram puzzles.

It will return all the possible anagrams (valid words) for the given word.
An empty array will be returned if no valid anagrams are available for a word.

Installation

Add this line to your application's Gemfile:

gem 'the_anagram_solver'

And then execute:

$ bundle

Or install it yourself as:

$ gem install the_anagram_solver

Usage

as = AnagramSolver::Anagram.new

as.solve("rat")
=> ["art", "rat", "tar"]

as.solve("ouhioyuyyy")
=> []

Website

http://anagramsolver.me

MongoDB Logo MongoDB