Class: Sprockets::Rails::QuietAssets
- Inherits:
-
Object
- Object
- Sprockets::Rails::QuietAssets
- Defined in:
- lib/sprockets/rails/quiet_assets.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app) ⇒ QuietAssets
constructor
A new instance of QuietAssets.
Constructor Details
#initialize(app) ⇒ QuietAssets
Returns a new instance of QuietAssets.
6 7 8 9 |
# File 'lib/sprockets/rails/quiet_assets.rb', line 6 def initialize(app) @app = app @assets_regex = %r(\A/{0,2}#{::Rails.application.config.assets.prefix}) end |