sprockets
https://github.com/rails/sprockets
Ruby
Rack-based asset packaging system
Sprockets::UnloadedAsset#asset_key
Internal: Key of asset Used to retrieve an asset from the cache based on "compressed" path to asset. A "compressed" path can either be relative to the root of the project or an absolute path. Returns a String.
Edit
git clone [email protected]:rails/sprockets.git
cd sprockets
open lib/sprockets/unloaded_asset.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Sprockets--UnloadedAsset-asset_key-for-pr
# Commit to gitgit add lib/sprockets/unloaded_asset.rbgit commit -m "better docs for Sprockets::UnloadedAsset#asset_key"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Sprockets--UnloadedAsset-asset_key-for-pr
hub pull-request
# Celebrate!