sonic-pi

https://github.com/sonic-pi-net/sonic-pi

C++

Code. Music. Live.

Rugged::TagCollection#each

Iterate through all the tags in +repo+. Iteration
can be optionally filtered to the ones matching the given
+pattern+, a standard Unix filename glob.

If +pattern+ is empty or not given, all tag names will be returned.

The given block will be called once with the name for each tag.

If no block is given, an enumerator will be returned.

Source | Google | Stack overflow

Edit

git clone [email protected]:sonic-pi-net/sonic-pi.git

cd sonic-pi

open app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_tag_collection.c

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Rugged--TagCollection-each-for-pr


# Commit to git

git add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_tag_collection.cgit commit -m "better docs for Rugged::TagCollection#each"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Rugged--TagCollection-each-for-pr

hub pull-request


# Celebrate!