module Rspec::Mocks::ArgumentMatchers

def boolean

Passes if the argument is boolean.

object.should_receive(:message).with(boolean())
:call-seq:
def boolean
  BooleanMatcher.new(nil)
end