Module: Sprockets::Plugin::Aware
- Defined in:
- lib/sprockets/plugin/aware.rb
Instance Method Summary collapse
-
#append_plugin_paths ⇒ Object
Appends the paths from each Sprockets::Plugin to the Sprockets::Environment.
Instance Method Details
#append_plugin_paths ⇒ Object
Appends the paths from each Sprockets::Plugin to the Sprockets::Environment.
8 9 10 11 12 13 14 |
# File 'lib/sprockets/plugin/aware.rb', line 8 def append_plugin_paths Plugin.plugins.each do |plugin| plugin.paths.each do |path| self.append_path(path) unless self.paths.include?(path) end end end |