Class: Bootswitch::Configuration
- Inherits:
-
Object
- Object
- Bootswitch::Configuration
- Defined in:
- lib/bootswitch/configuration.rb
Instance Attribute Summary collapse
-
#default_theme ⇒ Object
Returns the value of attribute default_theme.
-
#theme_method ⇒ Object
Returns the value of attribute theme_method.
-
#themes ⇒ Object
Returns the value of attribute themes.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_theme ⇒ Object
Returns the value of attribute default_theme.
14 15 16 |
# File 'lib/bootswitch/configuration.rb', line 14 def default_theme @default_theme end |
#theme_method ⇒ Object
Returns the value of attribute theme_method.
14 15 16 |
# File 'lib/bootswitch/configuration.rb', line 14 def theme_method @theme_method end |
#themes ⇒ Object
Returns the value of attribute themes.
14 15 16 |
# File 'lib/bootswitch/configuration.rb', line 14 def themes @themes end |