brew

https://github.com/homebrew/brew

Ruby

🍺 The missing package manager for macOS

Plist.parse_xml

Note that I don't use these two elements much:

 + Date elements are returned as DateTime objects.
 + Data elements are implemented as Tempfiles

Plist::parse_xml will blow up if it encounters a Date element.
If you encounter such an error, or if you have a Date element which
can't be parsed into a Time object, please send your plist file to
[email protected] so that I can implement the proper support.

Source | Google | Stack overflow

Edit

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

cd brew

open Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/plist-3.7.2/lib/plist/parser.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Plist-parse_xml-for-pr


# Commit to git

git add Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/plist-3.7.2/lib/plist/parser.rbgit commit -m "better docs for Plist.parse_xml"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Plist-parse_xml-for-pr

hub pull-request


# Celebrate!