class RSpec::Matchers::BuiltIn::YieldProbe

def self.assert_valid_expect_block!(block)

def self.assert_valid_expect_block!(block)
  return if block.arity == 1
  raise "Your expect block must accept an argument to be used with this " +
        "matcher. Pass the argument as a block on to the method you are testing."
end