sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Rugged::Config#get
Get the value for the given config +key+. Values are always returned as +String+, or +nil+ if the given key doesn't exist in the Config file. cfg['apply.whitespace'] #=> 'fix' cfg['diff.renames'] #=> 'true'
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-get-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#get"
# 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-get-for-pr
hub pull-request
# Celebrate!