Class: ETL::Batch::Directive
Overview
Abstract base class for directives
Direct Known Subclasses
Instance Attribute Summary collapse
-
#batch ⇒ Object
readonly
Method to access the batch object.
Instance Method Summary collapse
-
#execute ⇒ Object
Execute the directive.
-
#initialize(batch) ⇒ Directive
constructor
Initialize the directive with the given batch object.
Constructor Details
#initialize(batch) ⇒ Directive
Initialize the directive with the given batch object
9 10 11 |
# File 'lib/etl/batch/directives.rb', line 9 def initialize(batch) @batch = batch end |
Instance Attribute Details
#batch ⇒ Object (readonly)
Method to access the batch object
6 7 8 |
# File 'lib/etl/batch/directives.rb', line 6 def batch @batch end |