Class: PartialsFx::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_layerObject

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_pathObject

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_stylesObject

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