imdb
https://github.com/ariejan/imdb
Imdb::Search#exact_match?
Returns true if the search yielded only one result, an exact match
Edit
git clone [email protected]:ariejan/imdb.git
cd imdb
open lib/imdb/search.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Imdb--Search-exact_match--for-pr
# Commit to gitgit add lib/imdb/search.rbgit commit -m "better docs for Imdb::Search#exact_match?"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Imdb--Search-exact_match--for-pr
hub pull-request
# Celebrate!