Class: Eson::Search::Text
- Inherits:
-
Object
- Object
- Eson::Search::Text
- Includes:
- Query
- Defined in:
- lib/eson/search/text.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Text
constructor
A new instance of Text.
-
#text { ... } ⇒ self
Generates a ‘text` query in a query context.
Methods included from Query
Constructor Details
#initialize(options = {}) ⇒ Text
Returns a new instance of Text.
17 18 19 |
# File 'lib/eson/search/text.rb', line 17 def initialize( = {}) self. = end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Eson::Search::Query
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
15 16 17 |
# File 'lib/eson/search/text.rb', line 15 def @options end |
Instance Method Details
#text { ... } ⇒ self
13 |
# File 'lib/eson/search/text.rb', line 13 short_name :text |