Class: Gitlab::Themes::Theme

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

Overview

Struct class representing a single Theme

Instance Attribute Summary collapse

Instance Attribute Details

#css_classObject

Returns the value of attribute css_class

Returns:

  • (Object)

    the current value of css_class


9
10
11
# File 'lib/gitlab/themes.rb', line 9

def css_class
  @css_class
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id


9
10
11
# File 'lib/gitlab/themes.rb', line 9

def id
  @id
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name


9
10
11
# File 'lib/gitlab/themes.rb', line 9

def name
  @name
end