Class: Eson::Search::Terms
- Inherits:
-
Object
- Object
- Eson::Search::Terms
- Defined in:
- lib/eson/search/terms.rb
Instance Attribute Summary collapse
-
#field ⇒ Object
Returns the value of attribute field.
-
#options ⇒ Object
Returns the value of attribute options.
Attributes included from Facet
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Terms
constructor
A new instance of Terms.
- #terms ⇒ Object
Methods included from Facet
included, #method_missing, #param, #scope
Methods included from Filter
Methods included from Query
Constructor Details
#initialize(options = {}) ⇒ Terms
Returns a new instance of Terms.
15 16 17 |
# File 'lib/eson/search/terms.rb', line 15 def initialize( = {}) self. = end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Eson::Search::Facet
Instance Attribute Details
#field ⇒ Object
Returns the value of attribute field.
13 14 15 |
# File 'lib/eson/search/terms.rb', line 13 def field @field end |
#options ⇒ Object
Returns the value of attribute options.
13 14 15 |
# File 'lib/eson/search/terms.rb', line 13 def @options end |
Instance Method Details
#terms { ... } ⇒ self #terms { ... } ⇒ self #terms { ... } ⇒ self
11 |
# File 'lib/eson/search/terms.rb', line 11 short_name :terms |