Class: Planout::OpSimple
Instance Attribute Summary
Attributes inherited from Operator
#args
Instance Method Summary
collapse
Methods inherited from Operator
#initialize
Instance Method Details
#execute(mapper) ⇒ Object
5
6
7
8
9
10
11
12
13
14
|
# File 'lib/planout/op_simple.rb', line 5
def execute(mapper)
@mapper = mapper
@parameters = {}
@args.each do |key, value|
@parameters[key] = mapper.evaluate(value)
end
simple_execute
end
|
#simple_execute ⇒ Object
16
17
18
|
# File 'lib/planout/op_simple.rb', line 16
def simple_execute
-1
end
|