Class: PlanOut::Operator
- Inherits:
-
Object
- Object
- PlanOut::Operator
- Defined in:
- lib/plan_out/operator.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
Instance Method Summary collapse
- #execute(mapper) ⇒ Object
-
#initialize(parameters) ⇒ Operator
constructor
A new instance of Operator.
Constructor Details
#initialize(parameters) ⇒ Operator
7 8 9 |
# File 'lib/plan_out/operator.rb', line 7 def initialize(parameters) @args = parameters end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
5 6 7 |
# File 'lib/plan_out/operator.rb', line 5 def args @args end |
Instance Method Details
#execute(mapper) ⇒ Object
11 12 13 |
# File 'lib/plan_out/operator.rb', line 11 def execute(mapper) mapper.experiment_salt end |