Class: ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Commands::CastMethodFactory Private
- Inherits:
-
ConvenientService::Support::Command
- Object
- ConvenientService::Support::Command
- ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Commands::CastMethodFactory
- Defined in:
- lib/convenient_service/service/plugins/can_have_steps/entities/method/commands/cast_method_factory.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
Can be any type.
- #other ⇒ Object readonly private
Instance Method Summary collapse
- #call ⇒ ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Entities::Factries::Base? private
-
#initialize(other:) ⇒ CastMethodFactory
constructor
private
A new instance of CastMethodFactory.
Methods inherited from ConvenientService::Support::Command
Constructor Details
#initialize(other:) ⇒ CastMethodFactory
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 CastMethodFactory.
25 26 27 |
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/commands/cast_method_factory.rb', line 25 def initialize(other:) @other = other end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns Can be any type.
20 |
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/commands/cast_method_factory.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_factory.rb', line 20 def other @other end |
Instance Method Details
#call ⇒ ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Entities::Factries::Base?
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.
32 33 34 35 36 |
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/commands/cast_method_factory.rb', line 32 def call return unless factory_class factory_class.new(**factory_kwargs) end |