Exception: ConvenientService::Service::Plugins::CanHaveSteps::Entities::Step::Plugins::CanBeMethodStep::Exceptions::StepIsNotMethodStep

Inherits:
Exception
  • Object
show all
Defined in:
lib/convenient_service/service/plugins/can_have_steps/entities/step/plugins/can_be_method_step/exceptions.rb

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(step:) ⇒ void

This method returns an undefined value.



17
18
19
20
21
22
23
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/step/plugins/can_be_method_step/exceptions.rb', line 17

def initialize_with_kwargs(step:)
  message = <<~TEXT
    Step `#{step.printable_action}` is NOT a method step.
  TEXT

  initialize(message)
end