Class: Gitlab::ColorSchemes::Scheme

Inherits:
Struct
  • Object
show all
Defined in:
lib/gitlab/color_schemes.rb

Overview

Struct class representing a single Scheme

Instance Attribute Summary collapse

Instance Attribute Details

#css_classObject

Returns the value of attribute css_class

Returns:

  • (Object)

    the current value of css_class


6
7
8
# File 'lib/gitlab/color_schemes.rb', line 6

def css_class
  @css_class
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id


6
7
8
# File 'lib/gitlab/color_schemes.rb', line 6

def id
  @id
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name


6
7
8
# File 'lib/gitlab/color_schemes.rb', line 6

def name
  @name
end