Method: Miscellany::BatchProcessor#flush
- Defined in:
- lib/miscellany/batch_processor.rb
#flush ⇒ Object
33 34 35 |
# File 'lib/miscellany/batch_processor.rb', line 33 def flush process_batch if @current_batch.present? || (@flush_count.zero? && ensure_once) end |