sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Mocha::ParameterMatchers::Base#&
A shorthand way of combining two matchers when both must match.
Returns a new {AllOf} parameter matcher combining two matchers using a logical AND.
This shorthand will not work with an implicit equals match. Instead, an explicit {Equals} matcher should be used.Edit
git clone [email protected]:sonic-pi-net/sonic-pi.git
cd sonic-pi
open app/server/ruby/vendor/mocha-1.1.0/lib/mocha/parameter_matchers/base.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Mocha--ParameterMatchers--Base---for-pr
# Commit to gitgit add app/server/ruby/vendor/mocha-1.1.0/lib/mocha/parameter_matchers/base.rbgit commit -m "better docs for Mocha::ParameterMatchers::Base#&"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Mocha--ParameterMatchers--Base---for-pr
hub pull-request
# Celebrate!