sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Integer#multiple_of?
Check whether the integer is evenly divisible by the argument. 0.multiple_of?(0) # => true 6.multiple_of?(5) # => false 10.multiple_of?(2) # => true
Edit
git clone [email protected]:sonic-pi-net/sonic-pi.git
cd sonic-pi
open app/server/ruby/vendor/activesupport-7.0.6/lib/active_support/core_ext/integer/multiple.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Integer-multiple_of--for-pr
# Commit to gitgit add app/server/ruby/vendor/activesupport-7.0.6/lib/active_support/core_ext/integer/multiple.rbgit commit -m "better docs for Integer#multiple_of?"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Integer-multiple_of--for-pr
hub pull-request
# Celebrate!