Sha256: 0ce3935d6f4bb7e27bb1813e02224f56f9543d91c7838e0a382cef3b66a4ab56
Contents?: true
Size: 421 Bytes
Versions: 22
Compression:
Stored size: 421 Bytes
Contents
module ETL module Processor # This processor is both a valid RowProcessor (called on each row with after_read) or a Processor (called once on pre_process or post_process) class BlockProcessor < ETL::Processor::RowProcessor def initialize(control, configuration) super @block = configuration[:block] end def process(row=nil) @block.call(row) end end end end
Version data entries
22 entries across 22 versions & 9 rubygems