Class: CleoDesignTokens::SemanticEntry
- Inherits:
-
Data
- Object
- Data
- CleoDesignTokens::SemanticEntry
- Defined in:
- lib/cleo_design_tokens/semantic_entry.rb
Overview
One semantic role: its Base value (nil when the role only exists under a
theme) plus whatever theme overrides genuinely differ from Base. Data,
not a Struct — this is a fixed value, never mutated after it's built,
and Data instances are frozen on construction with no extra .freeze.
Instance Attribute Summary collapse
-
#themes ⇒ Object
readonly
Returns the value of attribute themes.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Attribute Details
#themes ⇒ Object (readonly)
Returns the value of attribute themes
6 7 8 |
# File 'lib/cleo_design_tokens/semantic_entry.rb', line 6 def themes @themes end |
#value ⇒ Object (readonly)
Returns the value of attribute value
6 7 8 |
# File 'lib/cleo_design_tokens/semantic_entry.rb', line 6 def value @value end |