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

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

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Since:

  • 1.0.0

Instance Method Summary collapse

Methods included from ConvenientService::Support::Concern

included

Instance Method Details

#inspectString

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (String)

Since:

  • 1.0.0



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

def inspect
  return "<#{Utils::Class.display_name(container.klass)}::Step method: :#{method}>" if method_step?
  return "<#{Utils::Class.display_name(container.klass)}::Step service: #{Utils::Class.display_name(service_class)}>" if service_step?

  "<#{Utils::Class.display_name(container.klass)}::Step>"
end