brew

https://github.com/homebrew/brew

Ruby

🍺 The missing package manager for macOS

MachO::MachOFile#calculate_segment_alignment

No Docs, write some!

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-6.0.0/lib/macho/macho_file.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-MachO--MachOFile-calculate_segment_alignment-for-pr


# Commit to git

git add Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/ruby-macho-6.0.0/lib/macho/macho_file.rbgit commit -m "better docs for MachO::MachOFile#calculate_segment_alignment"


# 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--MachOFile-calculate_segment_alignment-for-pr

hub pull-request


# Celebrate!