Class: Axn::Core::AmbientContext::AmbientSubfieldTreeCacheEntry

Inherits:
Data
  • Object
show all
Defined in:
lib/axn/core/ambient_context.rb

Overview

Per-class cache slot for the ambient-scoped SubfieldTree: the subfield_configs array it was built from plus the built tree. Validity is decided by comparing the array's IDENTITY (never the value), mirroring ContractForSubfields#_resolved_subfields.

Instance Attribute Summary collapse

Instance Attribute Details

#subfieldsObject (readonly)

Returns the value of attribute subfields

Returns:

  • (Object)

    the current value of subfields



20
21
22
# File 'lib/axn/core/ambient_context.rb', line 20

def subfields
  @subfields
end

#valueObject (readonly)

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



20
21
22
# File 'lib/axn/core/ambient_context.rb', line 20

def value
  @value
end