Class: WelltreatStoreFramework::Configuration
- Inherits:
-
Object
- Object
- WelltreatStoreFramework::Configuration
- Defined in:
- lib/welltreat_store_framework/configuration.rb
Instance Attribute Summary collapse
-
#auto_reload ⇒ Object
Returns the value of attribute auto_reload.
-
#database_config ⇒ Object
Returns the value of attribute database_config.
-
#database_schema_file ⇒ Object
Returns the value of attribute database_schema_file.
-
#haml_options ⇒ Object
Returns the value of attribute haml_options.
-
#sprockets_enabled ⇒ Object
Returns the value of attribute sprockets_enabled.
-
#store_path ⇒ Object
Returns the value of attribute store_path.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/welltreat_store_framework/configuration.rb', line 6 def initialize @auto_reload = false @store_path = nil @sprockets_enabled = false @haml_options = { encoding: 'utf-8', format: :html5 } @database_connection = nil end |
Instance Attribute Details
#auto_reload ⇒ Object
Returns the value of attribute auto_reload.
3 4 5 |
# File 'lib/welltreat_store_framework/configuration.rb', line 3 def auto_reload @auto_reload end |
#database_config ⇒ Object
Returns the value of attribute database_config.
3 4 5 |
# File 'lib/welltreat_store_framework/configuration.rb', line 3 def database_config @database_config end |
#database_schema_file ⇒ Object
Returns the value of attribute database_schema_file.
3 4 5 |
# File 'lib/welltreat_store_framework/configuration.rb', line 3 def database_schema_file @database_schema_file end |
#haml_options ⇒ Object
Returns the value of attribute haml_options.
3 4 5 |
# File 'lib/welltreat_store_framework/configuration.rb', line 3 def @haml_options end |
#sprockets_enabled ⇒ Object
Returns the value of attribute sprockets_enabled.
3 4 5 |
# File 'lib/welltreat_store_framework/configuration.rb', line 3 def sprockets_enabled @sprockets_enabled end |
#store_path ⇒ Object
Returns the value of attribute store_path.
3 4 5 |
# File 'lib/welltreat_store_framework/configuration.rb', line 3 def store_path @store_path end |