Class: Eson::Search::Prefix
- Inherits:
-
FieldBased
- Object
- FieldBased
- Eson::Search::Prefix
- Defined in:
- lib/eson/search/prefix.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
#prefix { ... } ⇒ self #prefix { ... } ⇒ self
9 |
# File 'lib/eson/search/prefix.rb', line 9 short_name :prefix |
#to_query_hash ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/eson/search/prefix.rb', line 11 def to_query_hash if field {name => field.to_query_hash} else {name => } end end |