Class: Disguise::Configuration
- Inherits:
-
Object
- Object
- Disguise::Configuration
- Defined in:
- lib/disguise/config.rb
Instance Attribute Summary collapse
-
#theme_full_base_path ⇒ Object
Returns the value of attribute theme_full_base_path.
-
#themes_enabled ⇒ Object
Returns the value of attribute themes_enabled.
-
#use_domain_for_themes ⇒ Object
Returns the value of attribute use_domain_for_themes.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
20 21 22 23 24 |
# File 'lib/disguise/config.rb', line 20 def initialize @themes_enabled = true @use_domain_for_themes = false @theme_full_base_path = File.join(::Rails.root.to_s, 'themes') end |
Instance Attribute Details
#theme_full_base_path ⇒ Object
Returns the value of attribute theme_full_base_path.
18 19 20 |
# File 'lib/disguise/config.rb', line 18 def theme_full_base_path @theme_full_base_path end |
#themes_enabled ⇒ Object
Returns the value of attribute themes_enabled.
16 17 18 |
# File 'lib/disguise/config.rb', line 16 def themes_enabled @themes_enabled end |
#use_domain_for_themes ⇒ Object
Returns the value of attribute use_domain_for_themes.
17 18 19 |
# File 'lib/disguise/config.rb', line 17 def use_domain_for_themes @use_domain_for_themes end |