Object
# File lib/rspec/matchers/built_in/yield.rb, line 203 203: def description 204: desc = "yield successive args" 205: desc << "(" + @expected.map { |e| e.inspect }.join(", ") + ")" 206: desc 207: end
# File lib/rspec/matchers/built_in/yield.rb, line 191 191: def failure_message_for_should 192: "expected given block to yield successively with arguments, but yielded with unexpected arguments" + 193: "\nexpected: #{@expected.inspect}" + 194: "\n got: #{@actual.inspect} (compared using === and ==)" 195: end
# File lib/rspec/matchers/built_in/yield.rb, line 197 197: def failure_message_for_should_not 198: "expected given block not to yield successively with arguments, but yielded with expected arguments" + 199: "\nexpected not: #{@expected.inspect}" + 200: "\n got: #{@actual.inspect} (compared using === and ==)" 201: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.