sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Rugged::Config#[]=
Store the given +value+ in the Config file, under the section and name specified by +key+. Value can be any of the following Ruby types: +String+, +true+, +false+ and +Fixnum+. The config file will be automatically stored to disk. cfg['apply.whitespace'] = 'fix' cfg['diff.renames'] = true cfg['gc.reflogexpre'] = 90
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 branchgit checkout -b -your-name--update-docs-Rugged--Config-----for-pr
# Commit to gitgit add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_config.cgit commit -m "better docs for Rugged::Config#[]="
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rugged--Config-----for-pr
hub pull-request
# Celebrate!