brew

https://github.com/homebrew/brew

Ruby

🍺 The missing package manager for macOS

Vendor::OkJson#ucharcopy

Copies the valid UTF-8 bytes of a single character
from string s at position i to I/O object t, and
returns the number of bytes copied.
If no valid UTF-8 char exists at position i,
ucharcopy writes Ustrerr and returns 1.

Source | Google | Stack overflow

Edit

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

cd brew

open Library/Homebrew/vendor/okjson.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Vendor--OkJson-ucharcopy-for-pr


# Commit to git

git add Library/Homebrew/vendor/okjson.rbgit commit -m "better docs for Vendor::OkJson#ucharcopy"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Vendor--OkJson-ucharcopy-for-pr

hub pull-request


# Celebrate!