Class: ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Commands::CastMethod Private
- Inherits:
-
ConvenientService::Support::Command
- Object
- ConvenientService::Support::Command
- ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Commands::CastMethod
- Defined in:
- lib/convenient_service/service/plugins/can_have_steps/entities/method/commands/cast_method.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.
Instance Attribute Summary collapse
- #options ⇒ Object readonly private
- #other ⇒ Object readonly private
Instance Method Summary collapse
- #call ⇒ ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method? private
-
#initialize(other:, options:) ⇒ CastMethod
constructor
private
A new instance of CastMethod.
Methods inherited from ConvenientService::Support::Command
Constructor Details
#initialize(other:, options:) ⇒ CastMethod
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 a new instance of CastMethod.
32 33 34 35 |
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/commands/cast_method.rb', line 32 def initialize(other:, options:) @other = other @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
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.
20 |
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/commands/cast_method.rb', line 20 attr_reader :other |
#other ⇒ Object (readonly)
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.
20 21 22 |
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/commands/cast_method.rb', line 20 def other @other end |
Instance Method Details
#call ⇒ ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method?
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.
44 45 46 47 48 49 50 51 52 |
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/commands/cast_method.rb', line 44 def call return unless factory return unless key return unless name return unless caller return unless direction Method.new(key: key, name: name, caller: caller, direction: direction) end |