Class: Gitlab::ColorModes::Mode
- Inherits:
-
Struct
- Object
- Struct
- Gitlab::ColorModes::Mode
- Defined in:
- lib/gitlab/color_modes.rb
Overview
Struct class representing a single Mode
Instance Attribute Summary collapse
-
#css_class ⇒ Object
Returns the value of attribute css_class.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#css_class ⇒ Object
Returns the value of attribute css_class
14 15 16 |
# File 'lib/gitlab/color_modes.rb', line 14 def css_class @css_class end |
#id ⇒ Object
Returns the value of attribute id
14 15 16 |
# File 'lib/gitlab/color_modes.rb', line 14 def id @id end |
#name ⇒ Object
Returns the value of attribute name
14 15 16 |
# File 'lib/gitlab/color_modes.rb', line 14 def name @name end |