Class: Axn::Core::ContractForSubfields::ResolvedSubfieldsCacheEntry
- Inherits:
-
Data
- Object
- Data
- Axn::Core::ContractForSubfields::ResolvedSubfieldsCacheEntry
- Defined in:
- lib/axn/core/contract_for_subfields.rb
Overview
The per-class cache slot for the resolved-subfield artifact: the config arrays it was built from plus the built value. Validity is decided by comparing the arrays' IDENTITY, never the value — see ClassMethods#_resolved_subfields.
Instance Attribute Summary collapse
-
#fields ⇒ Object
readonly
Returns the value of attribute fields.
-
#subfields ⇒ Object
readonly
Returns the value of attribute subfields.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Attribute Details
#fields ⇒ Object (readonly)
Returns the value of attribute fields
15 16 17 |
# File 'lib/axn/core/contract_for_subfields.rb', line 15 def fields @fields end |
#subfields ⇒ Object (readonly)
Returns the value of attribute subfields
15 16 17 |
# File 'lib/axn/core/contract_for_subfields.rb', line 15 def subfields @subfields end |
#value ⇒ Object (readonly)
Returns the value of attribute value
15 16 17 |
# File 'lib/axn/core/contract_for_subfields.rb', line 15 def value @value end |