Class: DataImport::ExecutionPlan

Inherits:
Object
  • Object
show all
Defined in:
lib/data-import/execution_plan.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(definitions = []) ⇒ ExecutionPlan

Returns a new instance of ExecutionPlan.



7
8
9
# File 'lib/data-import/execution_plan.rb', line 7

def initialize(definitions = [])
  @definitions = definitions
end

Instance Attribute Details

#before_filterObject

Returns the value of attribute before_filter.



5
6
7
# File 'lib/data-import/execution_plan.rb', line 5

def before_filter
  @before_filter
end

#definitionsObject (readonly)

Returns the value of attribute definitions.



4
5
6
# File 'lib/data-import/execution_plan.rb', line 4

def definitions
  @definitions
end

Instance Method Details

#add_definition(definition) ⇒ Object



11
12
13
# File 'lib/data-import/execution_plan.rb', line 11

def add_definition(definition)
  @definitions << definition
end