Class: ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Entities::Factories::Hash::Base Private

Inherits:
Base
  • Object
show all
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.

Since:

  • 1.0.0

Direct Known Subclasses

ProcValue, RawValue, StringValue, SymbolValue

Instance Attribute Summary

Attributes inherited from Base

#other

Instance Method Summary collapse

Methods inherited from Base

#==, #create_caller, #create_key, #create_name, #initialize

Methods included from ConvenientService::Support::Concern

included

Instance Method Details

#keySymbol

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:

Since:

  • 1.0.0



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

#valueObject

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.

Returns:

  • (Object)

    Can be any object.

Since:

  • 1.0.0



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