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



13
14
15
# File 'lib/gitlab/themes.rb', line 13

def css_class
  @css_class
end

#css_filenameObject

Returns the value of attribute css_filename

Returns:

  • (Object)

    the current value of css_filename



13
14
15
# File 'lib/gitlab/themes.rb', line 13

def css_filename
  @css_filename
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



13
14
15
# File 'lib/gitlab/themes.rb', line 13

def id
  @id
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



13
14
15
# File 'lib/gitlab/themes.rb', line 13

def name
  @name
end

#primary_colorObject

Returns the value of attribute primary_color

Returns:

  • (Object)

    the current value of primary_color



13
14
15
# File 'lib/gitlab/themes.rb', line 13

def primary_color
  @primary_color
end