Class: ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Entities::Factories::Hash::Base Private
- Inherits:
-
Base
- Object
- Base
- ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Entities::Factories::Hash::Base
- Defined in:
- lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/factories/hash/base.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.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #key ⇒ Symbol private
-
#value ⇒ Object
private
Can be any object.
Methods inherited from Base
#==, #create_caller, #create_key, #create_name, #initialize
Methods included from ConvenientService::Support::Concern
Constructor Details
This class inherits a constructor from ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Entities::Factories::Base
Instance Method Details
#key ⇒ Symbol
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.
21 22 23 |
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/factories/hash/base.rb', line 21 def key @key ||= other.keys.first end |
#value ⇒ 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.
Returns Can be any object.
28 29 30 |
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/factories/hash/base.rb', line 28 def value Utils.memoize_including_falsy_values(self, :@value) { other.values.first } end |