brew

https://github.com/homebrew/brew

Ruby

🍺 The missing package manager for macOS

MachO.open

Opens the given filename as a MachOFile or FatFile, depending on its magic.

Source | Google | Stack overflow

Edit

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

cd brew

open Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/ruby-macho-7.0.0/lib/macho.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-MachO-open-for-pr


# Commit to git

git add Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/ruby-macho-7.0.0/lib/macho.rbgit commit -m "better docs for MachO.open"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-MachO-open-for-pr

hub pull-request


# Celebrate!