Method: Traject::Indexer#after_processing
- Defined in:
- lib/traject/indexer.rb
#after_processing(aLambda = nil, &block) ⇒ Object
Part of DSL, register logic to be called once at the end of processing a stream of records.
351 352 353 |
# File 'lib/traject/indexer.rb', line 351 def after_processing(aLambda = nil, &block) @after_processing_steps << AfterProcessingStep.new(aLambda, block, Traject::Util.extract_caller_location(caller.first)) end |