imdb
https://github.com/ariejan/imdb
Imdb::Search#initialize
Initialize a new IMDB search with the specified query
search = Imdb::Search.new("Star Trek")
Imdb::Search is lazy loading, meaning that unless you access the +movies+
attribute, no query is made to IMDB.com.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-initialize-for-pr
# Commit to gitgit add lib/imdb/search.rbgit commit -m "better docs for Imdb::Search#initialize"
# 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-initialize-for-pr
hub pull-request
# Celebrate!