Class: ETL::Batch::Run

Inherits:
Directive show all
Defined in:
lib/etl/batch/directives.rb

Overview

Directive indicating that the specified ETL control file should be run

Instance Attribute Summary collapse

Attributes inherited from Directive

#batch

Instance Method Summary collapse

Methods inherited from Directive

#execute

Constructor Details

#initialize(batch, file) ⇒ Run

Initialize the directive with the given batch object and file



32
33
34
35
# File 'lib/etl/batch/directives.rb', line 32

def initialize(batch, file)
  super(batch)
  @file = file
end

Instance Attribute Details

#fileObject (readonly)

The file to execute



29
30
31
# File 'lib/etl/batch/directives.rb', line 29

def file
  @file
end