sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Rugged::Config#to_hash
Returns the config file represented as a Ruby hash, where
each configuration entry appears as a key with its
corresponding value.
cfg.to_hash #=> {"core.autolf" => "true", "core.bare" => "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-to_hash-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#to_hash"
# 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-to_hash-for-pr
hub pull-request
# Celebrate!