Class: RailsAssetslessContainer::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/rails_assetsless_container/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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

#enabledObject 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

#strategyObject

Returns the value of attribute strategy.



15
16
17
# File 'lib/rails_assetsless_container/config.rb', line 15

def strategy
  @strategy
end