sprockets
https://github.com/rails/sprockets
Ruby
Rack-based asset packaging system
Sprockets::Exporters::Base#write
Public: Yields a file that can be written to with the input `filename`. Defaults to the `target`. Method is safe to use in forked or threaded environments.
Edit
git clone [email protected]:rails/sprockets.git
cd sprockets
open lib/sprockets/exporters/base.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Sprockets--Exporters--Base-write-for-pr
# Commit to gitgit add lib/sprockets/exporters/base.rbgit commit -m "better docs for Sprockets::Exporters::Base#write"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Sprockets--Exporters--Base-write-for-pr
hub pull-request
# Celebrate!