Sha256: 7c81569f98d891e09e344b352e8c3b1dbf01c36171ff2161d84f4d9049cccba5
Contents?: true
Size: 636 Bytes
Versions: 51
Compression:
Stored size: 636 Bytes
Contents
module Dynflow module ExecutionPlan::Steps class AbstractFlowStep < Abstract 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 def clone self.class.from_hash(to_hash, execution_plan_id, world) end private def open_action action = persistence.load_action(self) yield action persistence.save_action(execution_plan_id, action) save return self end end end end
Version data entries
51 entries across 51 versions & 1 rubygems