Class: ClassyAssets::Sprockets
- Inherits:
-
Object
- Object
- ClassyAssets::Sprockets
- Defined in:
- lib/classy_assets/sprockets.rb
Instance Attribute Summary collapse
-
#asset_root ⇒ Object
Returns the value of attribute asset_root.
-
#environment ⇒ Object
Returns the value of attribute environment.
Instance Method Summary collapse
-
#initialize ⇒ Sprockets
constructor
A new instance of Sprockets.
Constructor Details
#initialize ⇒ Sprockets
Returns a new instance of Sprockets.
7 8 9 10 11 |
# File 'lib/classy_assets/sprockets.rb', line 7 def initialize @config = ClassyAssets.config @asset_root = @config.asset_root @environment = new_sprockets_environment end |
Instance Attribute Details
#asset_root ⇒ Object
Returns the value of attribute asset_root.
6 7 8 |
# File 'lib/classy_assets/sprockets.rb', line 6 def asset_root @asset_root end |
#environment ⇒ Object
Returns the value of attribute environment.
6 7 8 |
# File 'lib/classy_assets/sprockets.rb', line 6 def environment @environment end |