self
Starting in RSpec 1.2 (and continuing through all 2.x releases), the failure message protocol was:
* `failure_message_for_should` * `failure_message_for_should_not`
@private
# File lib/rspec/expectations/handler.rb, line 127 def self.interface_matches?(matcher) ( !matcher.respond_to?(:failure_message) && matcher.respond_to?(:failure_message_for_should) ) || ( !matcher.respond_to?(:failure_message_when_negated) && matcher.respond_to?(:failure_message_for_should_not) ) end
Generated with the Darkfish Rdoc Generator 2.