Class: Opera::Operation::Instructions::Executors::Success

Inherits:
Executor
  • Object
show all
Defined in:
lib/opera/operation/instructions/executors/success.rb

Instance Attribute Summary

Attributes inherited from Executor

#operation

Instance Method Summary collapse

Methods inherited from Executor

#add_instruction_output, #config, #context, #evaluate_instruction, #evaluate_instructions, #initialize, #production_mode?, #reporter, #result

Constructor Details

This class inherits a constructor from Opera::Operation::Executor

Instance Method Details

#break_conditionObject



13
14
15
# File 'lib/opera/operation/instructions/executors/success.rb', line 13

def break_condition
  operation.finished?
end

#call(instruction) ⇒ Object



8
9
10
11
# File 'lib/opera/operation/instructions/executors/success.rb', line 8

def call(instruction)
  instruction[:kind] = :step
  super
end