Class: Eson::Search::Term
- Inherits:
-
FieldBased
- Object
- FieldBased
- Eson::Search::Term
- Defined in:
- lib/eson/search/term.rb
Instance Attribute Summary
Attributes inherited from FieldBased
Instance Method Summary collapse
Methods included from Filter
Methods included from Query
Methods inherited from FieldBased
Constructor Details
This class inherits a constructor from Eson::Search::FieldBased
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Eson::Search::Filter
Instance Method Details
#term { ... } ⇒ self #term { ... } ⇒ self
9 |
# File 'lib/eson/search/term.rb', line 9 short_name :term |
#to_query_hash ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/eson/search/term.rb', line 11 def to_query_hash if field {name => field.to_query_hash} else {name => } end end |