sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Rugged::RemoteCollection#[]
Lookup a remote in the collection with the given +name+. Returns a new Rugged::Remote object or +nil+ if the remote doesn't exist. @repo.remotes["origin"] #=> #<Rugged::Remote:0x00000001fbfa80>
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_remote_collection.c
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rugged--RemoteCollection----for-pr
# Commit to gitgit add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_remote_collection.cgit commit -m "better docs for Rugged::RemoteCollection#[]"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rugged--RemoteCollection----for-pr
hub pull-request
# Celebrate!