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



8
9
10
# File 'lib/gitlab/color_schemes.rb', line 8

def css_class
  @css_class
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



8
9
10
# File 'lib/gitlab/color_schemes.rb', line 8

def id
  @id
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



8
9
10
# File 'lib/gitlab/color_schemes.rb', line 8

def name
  @name
end