Class: ImdbSearch
- Inherits:
-
Object
- Object
- ImdbSearch
- Defined in:
- lib/imdb/imdb_search.rb
Instance Attribute Summary collapse
-
#query ⇒ Object
Returns the value of attribute query.
Instance Method Summary collapse
-
#initialize(query) ⇒ ImdbSearch
constructor
A new instance of ImdbSearch.
- #movies ⇒ Object
Constructor Details
#initialize(query) ⇒ ImdbSearch
Returns a new instance of ImdbSearch.
5 6 7 |
# File 'lib/imdb/imdb_search.rb', line 5 def initialize(query) self.query = query end |
Instance Attribute Details
#query ⇒ Object
Returns the value of attribute query.
3 4 5 |
# File 'lib/imdb/imdb_search.rb', line 3 def query @query end |