sprockets

https://github.com/rails/sprockets

Ruby

Rack-based asset packaging system

Sprockets::Manifest#remove

Removes file from directory and from manifest. `filename` must
be the name with any directory path.

  manifest.remove("application-2e8e9a7c6b0aafa0c9bdeec90ea30213.js")

Source | Google | Stack overflow

Edit

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

cd sprockets

open lib/sprockets/manifest.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Sprockets--Manifest-remove-for-pr


# Commit to git

git add lib/sprockets/manifest.rbgit commit -m "better docs for Sprockets::Manifest#remove"


# 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--Manifest-remove-for-pr

hub pull-request


# Celebrate!