# File lib/rspec/matchers/built_in/yield.rb, line 68 def matches?(block) probe = YieldProbe.probe(block) probe.yielded_once?(:yield_control) end