Object
# File lib/rspec/matchers/built_in/yield.rb, line 130 def description desc = "yield with args" desc << "(" + @expected.map { |e| e.inspect }.join(", ") + ")" if @expected.any? desc end
# File lib/rspec/matchers/built_in/yield.rb, line 122 def failure_message_for_should "expected given block to yield with arguments, but #{positive_failure_reason}" end
Generated with the Darkfish Rdoc Generator 2.