Class: ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Entities::Callers::Alias

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

Instance Attribute Summary

Attributes inherited from Base

#object

Instance Method Summary collapse

Methods inherited from Base

#==, #initialize, #to_args, #to_arguments

Methods included from ConvenientService::Support::Copyable

#copy

Methods included from ConvenientService::Support::AbstractMethod

abstract_method

Instance Method Details

#calculate_value(method) ⇒ Object



12
13
14
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/callers/alias.rb', line 12

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

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



16
17
18
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/callers/alias.rb', line 16

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