# File lib/dynflow/execution_plan/steps/abstract_flow_step.rb, line 14 def clone self.class.from_hash(to_hash, execution_plan_id, world) end
# File lib/dynflow/execution_plan/steps/abstract_flow_step.rb, line 5 def execute(*args) return self if [:skipped, :success].include? self.state open_action do |action| with_meta_calculation(action) do action.execute(*args) end end end
# File lib/dynflow/execution_plan/steps/abstract_flow_step.rb, line 20 def open_action action = persistence.load_action(self) yield action persistence.save_action(execution_plan_id, action) save return self end