Class: Sunspot::Query::CommonQuery
- Inherits:
-
Object
- Object
- Sunspot::Query::CommonQuery
- Defined in:
- lib/plugins/ext/sunspot/start_record.rb
Instance Method Summary collapse
Instance Method Details
#start_record(start, maximum) ⇒ Object
34 35 36 37 38 39 40 41 |
# File 'lib/plugins/ext/sunspot/start_record.rb', line 34 def start_record(start, maximum) if @start_record @start_record.start = start @start_record.maximum = maximum else @components << @start_record = StartRecord.new(start, maximum) end end |