Parent

Included Modules

Class Index [+]

Quicksearch

RSpec::Matchers::BuiltIn::YieldControl

Public Instance Methods

failure_message_for_should() click to toggle source
    # File lib/rspec/matchers/built_in/yield.rb, line 75
75:         def failure_message_for_should
76:           "expected given block to yield control"
77:         end
failure_message_for_should_not() click to toggle source
    # File lib/rspec/matchers/built_in/yield.rb, line 79
79:         def failure_message_for_should_not
80:           "expected given block not to yield control"
81:         end
matches?(block) click to toggle source
    # File lib/rspec/matchers/built_in/yield.rb, line 70
70:         def matches?(block)
71:           probe = YieldProbe.probe(block)
72:           probe.yielded_once?(:yield_control)
73:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.