Class: Tailmix::Configuration
- Inherits:
-
Object
- Object
- Tailmix::Configuration
- Defined in:
- lib/tailmix/configuration.rb
Overview
Stores the configuration for the Tailmix gem.
Instance Attribute Summary collapse
-
#dev_mode_attributes ⇒ Object
Returns the value of attribute dev_mode_attributes.
-
#element_selector_attribute ⇒ Object
Returns the value of attribute element_selector_attribute.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 |
# File 'lib/tailmix/configuration.rb', line 8 def initialize @element_selector_attribute = nil @dev_mode_attributes = defined?(Rails) && Rails.env.development? end |
Instance Attribute Details
#dev_mode_attributes ⇒ Object
Returns the value of attribute dev_mode_attributes.
6 7 8 |
# File 'lib/tailmix/configuration.rb', line 6 def dev_mode_attributes @dev_mode_attributes end |
#element_selector_attribute ⇒ Object
Returns the value of attribute element_selector_attribute.
6 7 8 |
# File 'lib/tailmix/configuration.rb', line 6 def element_selector_attribute @element_selector_attribute end |