Module: ConvenientService::Service::Plugins::CanHaveSteps::Entities::Step::Plugins::HasInspect::Concern

Includes:
ConvenientService::Support::Concern
Defined in:
lib/convenient_service/service/plugins/can_have_steps/entities/step/plugins/has_inspect/concern.rb

Instance Method Summary collapse

Instance Method Details

#inspectString

Returns:

  • (String)


21
22
23
24
25
26
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/step/plugins/has_inspect/concern.rb', line 21

def inspect
  return "<#{container.klass.name}::Step method: :#{method}>" if method_step?
  return "<#{container.klass.name}::Step service: #{service_class.name}>" if service_step?

  "<#{container.klass.name}::Step>"
end