Class: Crags::Search::Search
- Inherits:
-
Object
- Object
- Crags::Search::Search
- Defined in:
- lib/crags/search/search.rb
Instance Attribute Summary collapse
-
#category ⇒ Object
readonly
Returns the value of attribute category.
-
#keyword ⇒ Object
readonly
Returns the value of attribute keyword.
-
#opts ⇒ Object
readonly
Returns the value of attribute opts.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ Search
constructor
A new instance of Search.
Constructor Details
Instance Attribute Details
#category ⇒ Object (readonly)
Returns the value of attribute category.
4 5 6 |
# File 'lib/crags/search/search.rb', line 4 def category @category end |
#keyword ⇒ Object (readonly)
Returns the value of attribute keyword.
4 5 6 |
# File 'lib/crags/search/search.rb', line 4 def keyword @keyword end |
#opts ⇒ Object (readonly)
Returns the value of attribute opts.
4 5 6 |
# File 'lib/crags/search/search.rb', line 4 def opts @opts end |