# File lib/rspec/matchers/built_in/yield.rb, line 113 def matches?(block) @probe = YieldProbe.probe(block) @actual = @probe.single_yield_args @probe.yielded_once?(:yield_with_args) && args_match? end