Class: RailsAssetslessContainer::Config
- Inherits:
-
Object
- Object
- RailsAssetslessContainer::Config
- Defined in:
- lib/rails_assetsless_container/config.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
(also: #enabled?)
Returns the value of attribute enabled.
-
#strategy ⇒ Object
Returns the value of attribute strategy.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
18 19 20 21 |
# File 'lib/rails_assetsless_container/config.rb', line 18 def initialize @enabled = false @strategy ||= Strategy::AssetServer.new end |
Instance Attribute Details
#enabled ⇒ Object Also known as: enabled?
Returns the value of attribute enabled.
15 16 17 |
# File 'lib/rails_assetsless_container/config.rb', line 15 def enabled @enabled end |
#strategy ⇒ Object
Returns the value of attribute strategy.
15 16 17 |
# File 'lib/rails_assetsless_container/config.rb', line 15 def strategy @strategy end |