Method: Traject::Indexer#each_record
- Defined in:
- lib/traject/indexer.rb
#each_record(aLambda = nil, &block) ⇒ Object
Part of DSL, register logic to be called for each record
345 346 347 |
# File 'lib/traject/indexer.rb', line 345 def each_record(aLambda = nil, &block) @index_steps << EachRecordStep.new(aLambda, block, Traject::Util.extract_caller_location(caller.first)) end |