Class: Bootswitch::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/bootswitch/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



16
17
18
19
20
# File 'lib/bootswitch/configuration.rb', line 16

def initialize
  self.theme_method = nil
  self.default_theme = 'cyborg'
  self.themes = ['amelia', 'cerulean', 'cosmo', 'custom', 'cyborg', 'darkly', 'flatly','global','journal','readable','simplex','slate','spacelab','superhero','united','yeti']
end

Instance Attribute Details

#default_themeObject

Returns the value of attribute default_theme.



14
15
16
# File 'lib/bootswitch/configuration.rb', line 14

def default_theme
  @default_theme
end

#theme_methodObject

Returns the value of attribute theme_method.



14
15
16
# File 'lib/bootswitch/configuration.rb', line 14

def theme_method
  @theme_method
end

#themesObject

Returns the value of attribute themes.



14
15
16
# File 'lib/bootswitch/configuration.rb', line 14

def themes
  @themes
end