Class: Range
- Inherits:
-
Object
- Object
- Range
- Defined in:
- lib/sensei/query.rb
Instance Method Summary collapse
Instance Method Details
#to_sensei(field) ⇒ Object
213 214 215 |
# File 'lib/sensei/query.rb', line 213 def to_sensei(field) Sensei::RangeQuery.new(:from => self.begin, :to => self.end, :field => field) end |