Class: StaffBar::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/staff_bar/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



17
18
19
20
21
22
# File 'lib/staff_bar/config.rb', line 17

def initialize
  @links = []
  @theme = :dark
  @position = :bottom
  @highlight_envs = [:production]
end

Instance Attribute Details

#highlight_envsObject

Returns the value of attribute highlight_envs.



15
16
17
# File 'lib/staff_bar/config.rb', line 15

def highlight_envs
  @highlight_envs
end

Returns the value of attribute links.



15
16
17
# File 'lib/staff_bar/config.rb', line 15

def links
  @links
end

#positionObject

Returns the value of attribute position.



15
16
17
# File 'lib/staff_bar/config.rb', line 15

def position
  @position
end

#themeObject

Returns the value of attribute theme.



15
16
17
# File 'lib/staff_bar/config.rb', line 15

def theme
  @theme
end