class Opera::Operation::Instructions::Executors::Step

Public Instance Methods

call(instruction) click to toggle source
# File lib/opera/operation/instructions/executors/step.rb, line 8
def call(instruction)
  method = instruction[:method]

  operation.result.add_execution(method)
  operation.send(method)
rescue StandardError => exception
  reporter&.error(exception)
  operation.result.add_exception(method, exception.message, classname: operation.class.name)
end