sprockets
https://github.com/rails/sprockets
Ruby
Rack-based asset packaging system
Sprockets::Bundle.process_bundle_reducers
Internal: Run bundle reducers on set of Assets producing a reduced metadata Hash. assets - Array of Assets reducers - Array of [initial, reducer_proc] pairs Returns reduced asset metadata Hash.
Edit
git clone [email protected]:rails/sprockets.git
cd sprockets
open lib/sprockets/bundle.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Sprockets--Bundle-process_bundle_reducers-for-pr
# Commit to gitgit add lib/sprockets/bundle.rbgit commit -m "better docs for Sprockets::Bundle.process_bundle_reducers"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Sprockets--Bundle-process_bundle_reducers-for-pr
hub pull-request
# Celebrate!