Class: PartialsFx::Configuration
- Inherits:
-
Object
- Object
- PartialsFx::Configuration
- Defined in:
- lib/partials_fx/configuration.rb
Instance Attribute Summary collapse
-
#components_layer ⇒ Object
Returns the value of attribute components_layer.
-
#components_path ⇒ Object
Returns the value of attribute components_path.
-
#enable_component_styles ⇒ Object
Returns the value of attribute enable_component_styles.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 |
# File 'lib/partials_fx/configuration.rb', line 7 def initialize @components_path = File.join("app", "views", "components") @enable_component_styles = true @components_layer = nil # e.g. "components" end |
Instance Attribute Details
#components_layer ⇒ Object
Returns the value of attribute components_layer.
5 6 7 |
# File 'lib/partials_fx/configuration.rb', line 5 def components_layer @components_layer end |
#components_path ⇒ Object
Returns the value of attribute components_path.
5 6 7 |
# File 'lib/partials_fx/configuration.rb', line 5 def components_path @components_path end |
#enable_component_styles ⇒ Object
Returns the value of attribute enable_component_styles.
5 6 7 |
# File 'lib/partials_fx/configuration.rb', line 5 def enable_component_styles @enable_component_styles end |