class RSpec::Matchers::BuiltIn::YieldWithArgs

def matches?(block)

def matches?(block)
  @probe = YieldProbe.probe(block)
  @actual = @probe.single_yield_args
  @probe.yielded_once?(:yield_with_args) && args_match?
end