Class: Epok::Search
Instance Attribute Summary collapse
-
#query ⇒ Object
readonly
Returns the value of attribute query.
Instance Method Summary collapse
-
#initialize(query) ⇒ Search
constructor
A new instance of Search.
Methods included from Collectable
Constructor Details
#initialize(query) ⇒ Search
Returns a new instance of Search.
7 8 9 |
# File 'lib/epok/search.rb', line 7 def initialize(query) @query = query end |
Instance Attribute Details
#query ⇒ Object (readonly)
Returns the value of attribute query.
5 6 7 |
# File 'lib/epok/search.rb', line 5 def query @query end |