sprockets
https://github.com/rails/sprockets
Ruby
Rack-based asset packaging system
Sprockets::Cache::FileStore#set
Public: Set a key and value in the cache. This API should not be used directly, but via the Cache wrapper API. key - String cache key. value - Object value. Returns Object value.
Edit
git clone [email protected]:rails/sprockets.git
cd sprockets
open lib/sprockets/cache/file_store.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Sprockets--Cache--FileStore-set-for-pr
# Commit to gitgit add lib/sprockets/cache/file_store.rbgit commit -m "better docs for Sprockets::Cache::FileStore#set"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Sprockets--Cache--FileStore-set-for-pr
hub pull-request
# Celebrate!