sprockets
https://github.com/rails/sprockets
Ruby
Rack-based asset packaging system
Sprockets::Base#cache=
Set persistent cache store The cache store must implement a pair of getters and setters. Either `get(key)`/`set(key, value)`, `[key]`/`[key]=value`, `read(key)`/`write(key, value)`.
Edit
git clone [email protected]:rails/sprockets.git
cd sprockets
open lib/sprockets/base.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Sprockets--Base-cache--for-pr
# Commit to gitgit add lib/sprockets/base.rbgit commit -m "better docs for Sprockets::Base#cache="
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Sprockets--Base-cache--for-pr
hub pull-request
# Celebrate!