Class: Infold::Enum::EnumElement
- Inherits:
-
Object
- Object
- Infold::Enum::EnumElement
- Includes:
- ActiveModel::Model
- Defined in:
- lib/infold/property/enum.rb
Instance Attribute Summary collapse
-
#color ⇒ Object
Returns the value of attribute color.
-
#key ⇒ Object
Returns the value of attribute key.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#color ⇒ Object
Returns the value of attribute color.
24 25 26 |
# File 'lib/infold/property/enum.rb', line 24 def color @color end |
#key ⇒ Object
Returns the value of attribute key.
24 25 26 |
# File 'lib/infold/property/enum.rb', line 24 def key @key end |
#value ⇒ Object
Returns the value of attribute value.
24 25 26 |
# File 'lib/infold/property/enum.rb', line 24 def value @value end |