freerange/mocha — pull request #80 by jsanders (2012-05-10 23:58:59+00:00)
Title: Implement procs as parameter matchers

This allows you to build arbitrarily complex matchers without needing a
full matcher object.

Example:

```ruby
matcher1 = proc { |parameter| something_complex?(parameter) }
matcher2 = proc { |parameter| something_else_complex?(parameter) }
mock.expects(:method).with(matcher1, matcher2)
```