Class: CleoDesignTokens::SemanticEntry

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

Instance Attribute Details

#themesObject (readonly)

Returns the value of attribute themes

Returns:

  • (Object)

    the current value of themes



6
7
8
# File 'lib/cleo_design_tokens/semantic_entry.rb', line 6

def themes
  @themes
end

#valueObject (readonly)

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



6
7
8
# File 'lib/cleo_design_tokens/semantic_entry.rb', line 6

def value
  @value
end