class BitGirder::Etl::BlockScanner

Public Instance Methods

each_with_id() { |rec, ids| ... } click to toggle source
# File lib/bitgirder/etl.rb, line 18
def each_with_id
    @records.each_with_index { |rec, idx| yield( rec, @block.ids[ idx ] ) }
end