class Dynflow::Action::Missing
for cases the serialized action was renamed and it's not available in the code base anymore.
Public Class Methods
generate(action_name)
click to toggle source
# File lib/dynflow/action/missing.rb, line 6 def self.generate(action_name) Class.new(self).tap do |klass| klass.singleton_class.send(:define_method, :name) do action_name end end end
Public Instance Methods
finalize()
click to toggle source
# File lib/dynflow/action/missing.rb, line 22 def finalize raise StandardError, "This action is not meant to be finalized" end
plan(*args)
click to toggle source
# File lib/dynflow/action/missing.rb, line 14 def plan(*args) raise StandardError, "This action is not meant to be planned" end
run()
click to toggle source
# File lib/dynflow/action/missing.rb, line 18 def run raise StandardError, "This action is not meant to be run" end