Class: ConvenientService::Service::Plugins::CanHaveSteps::Entities::Step::Plugins::CanBeMethodStep::CanBePrinted::Middleware

Inherits:
MethodChainMiddleware
  • Object
show all
Defined in:
lib/convenient_service/service/plugins/can_have_steps/entities/step/plugins/can_be_method_step/can_be_printed/middleware.rb

Instance Method Summary collapse

Instance Method Details

#nextString

Returns:

  • (String)


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

def next(...)
  return chain.next(...) unless entity.method_step?

  ":#{entity.method}"
end