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