sprockets

https://github.com/rails/sprockets

Ruby

Rack-based asset packaging system

Sprockets::Cache#initialize

Internal: Wrap a backend cache store.

Always assign a backend cache store instance to Environment#cache= and
use Environment#cache to retreive a wrapped interface.

cache - A compatible backend cache store instance.

Source | Google | Stack overflow

Edit

git clone [email protected]:rails/sprockets.git

cd sprockets

open lib/sprockets/cache.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Sprockets--Cache-initialize-for-pr


# Commit to git

git add lib/sprockets/cache.rbgit commit -m "better docs for Sprockets::Cache#initialize"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Sprockets--Cache-initialize-for-pr

hub pull-request


# Celebrate!