Class: ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Entities::Callers::Usual Private

Inherits:
Base
  • Object
show all
Defined in:
lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/callers/usual.rb

Overview

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

Since:

  • 1.0.0

Instance Attribute Summary

Attributes inherited from Base

#object

Instance Method Summary collapse

Methods inherited from Base

#==, #alias?, #initialize, #proc?, #raw?, #to_args, #to_arguments

Methods included from ConvenientService::Support::Copyable

#copy

Methods included from ConvenientService::Support::AbstractMethod

abstract_method

Methods included from ConvenientService::Support::Concern

included

Instance Method Details

#calculate_value(method) ⇒ Object

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.

Since:

  • 1.0.0



24
25
26
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/callers/usual.rb', line 24

def calculate_value(method)
  method.organizer.__send__(method.name.to_s)
end

#define_output_in_container!(container, index:, method:) ⇒ Object

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.

Since:

  • 1.0.0



28
29
30
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/callers/usual.rb', line 28

def define_output_in_container!(container, index:, method:)
  Commands::DefineMethodInContainer.call(method: method, container: container, index: index)
end

#usual?Boolean

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:

  • (Boolean)

Since:

  • 1.0.0



20
21
22
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/callers/usual.rb', line 20

def usual?
  true
end