brew
https://github.com/homebrew/brew
Ruby
🍺 The missing package manager for macOS
String#chuzzle
String.chomp, but if result is empty: returns nil instead. Allows `chuzzle || foo` short-circuits.
Edit
git clone [email protected]:homebrew/brew.git
cd brew
open Library/Homebrew/extend/string.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-String-chuzzle-for-pr
# Commit to gitgit add Library/Homebrew/extend/string.rbgit commit -m "better docs for String#chuzzle"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-String-chuzzle-for-pr
hub pull-request
# Celebrate!