lib/sprockets/plugin/aware.rb in sprockets-plugin-0.1.1 vs lib/sprockets/plugin/aware.rb in sprockets-plugin-0.1.2
- old
+ new
@@ -10,11 +10,11 @@
module ClassMethods
# Overrides .new to append Plugin paths after
# initialization.
#
# Is there a better way to do this?
- def new(root = ".")
- super(root) do |env|
+ def new(*args)
+ super(*args) do |env|
env.append_plugin_paths
end
end
end