sonic-pi

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

C++

Code. Music. Live.

Rugged::Blame#[]

Returns the blame hunk data at the given +index+ in +blame+.

Negative indices count backward from the end of the blame hunks (-1 is the last
element).

Returns +nil+ if no blame hunk exists at the given +index+.

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_blame.c

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Rugged--Blame----for-pr


# Commit to git

git add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_blame.cgit commit -m "better docs for Rugged::Blame#[]"


# 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--Blame----for-pr

hub pull-request


# Celebrate!