Class: DataImport::ExecutionPlan
- Inherits:
-
Object
- Object
- DataImport::ExecutionPlan
- Defined in:
- lib/data-import/execution_plan.rb
Instance Attribute Summary collapse
-
#before_filter ⇒ Object
Returns the value of attribute before_filter.
-
#definitions ⇒ Object
readonly
Returns the value of attribute definitions.
Instance Method Summary collapse
- #add_definition(definition) ⇒ Object
-
#initialize(definitions = []) ⇒ ExecutionPlan
constructor
A new instance of ExecutionPlan.
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_filter ⇒ Object
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 |
#definitions ⇒ Object (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 |