sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Rugged::Config#each
Call the given block once for each key/value pair in the config file.
If no block is given, an enumerator is returned.
cfg.each do |key, value|
puts "#{key} => #{value}"
endEdit
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-each-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#each"
# 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-each-for-pr
hub pull-request
# Celebrate!