sonic-pi

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

C++

Code. Music. Live.

Object#`

Makes backticks behave (somewhat more) similarly on all platforms.
On win32 `nonexistent_command` raises Errno::ENOENT; on Unix, the
spawned shell prints a message to stderr and sets $?. We emulate
Unix on the former but not the latter.

Source | Google | Stack overflow

Edit

git clone [email protected]:sonic-pi-net/sonic-pi.git

cd sonic-pi

open app/server/ruby/vendor/activesupport/lib/active_support/core_ext/kernel/agnostics.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Object---for-pr


# Commit to git

git add app/server/ruby/vendor/activesupport/lib/active_support/core_ext/kernel/agnostics.rbgit commit -m "better docs for Object#`"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Object---for-pr

hub pull-request


# Celebrate!