Class: ETL::Processor::Processor
- Inherits:
-
Object
- Object
- ETL::Processor::Processor
- Defined in:
- lib/etl/processor/processor.rb
Overview
Base class for pre and post processors. Subclasses must implement the process
method.
Direct Known Subclasses
BulkImportProcessor, EncodeProcessor, RowProcessor, TruncateProcessor
Instance Method Summary collapse
-
#initialize(control, configuration) ⇒ Processor
constructor
A new instance of Processor.
Constructor Details
#initialize(control, configuration) ⇒ Processor
Returns a new instance of Processor.
5 6 7 8 9 |
# File 'lib/etl/processor/processor.rb', line 5 def initialize(control, configuration) @control = control @configuration = configuration after_initialize if respond_to?(:after_initialize) end |