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.

Source | Google | Stack overflow

Edit

git clone [email protected]:ariejan/imdb.git

cd imdb

open lib/imdb/search.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Imdb--Search-initialize-for-pr


# Commit to git

git add lib/imdb/search.rbgit commit -m "better docs for Imdb::Search#initialize"


# Open pull request

gem 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!