brew

https://github.com/homebrew/brew

Ruby

🍺 The missing package manager for macOS

AbstractDownloadStrategy#stage

Unpack {#cached_location} into the current working directory, and possibly
chdir into the newly-unpacked directory.
Unlike {Resource#stage}, this does not take a block.

Source | Google | Stack overflow

Edit

git clone [email protected]:homebrew/brew.git

cd brew

open Library/Homebrew/download_strategy/abstract_download_strategy.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-AbstractDownloadStrategy-stage-for-pr


# Commit to git

git add Library/Homebrew/download_strategy/abstract_download_strategy.rbgit commit -m "better docs for AbstractDownloadStrategy#stage"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-AbstractDownloadStrategy-stage-for-pr

hub pull-request


# Celebrate!