Module: Sprockets::Plugin::Aware::ClassMethods
- Defined in:
- lib/sprockets/plugin/aware.rb
Instance Method Summary collapse
-
#new(*args) ⇒ Object
Overrides .new to append Plugin paths after initialization.
Instance Method Details
#new(*args) ⇒ Object
Overrides .new to append Plugin paths after initialization.
Is there a better way to do this?
15 16 17 18 19 |
# File 'lib/sprockets/plugin/aware.rb', line 15 def new(*args) super(*args) do |env| env.append_plugin_paths end end |