sonic-pi

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

C++

Code. Music. Live.

Rugged::Config#delete

Delete the given +key+ from the config file. Return +true+ if
the deletion was successful, or +false+ if the key was not
found in the Config file.

The config file is immediately updated on disk.

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

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Rugged--Config-delete-for-pr


# Commit to git

git add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_config.cgit commit -m "better docs for Rugged::Config#delete"


# 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--Config-delete-for-pr

hub pull-request


# Celebrate!