# File lib/spec/matchers/simple_matcher.rb, line 22 def description @description || explanation end
# File lib/spec/matchers/simple_matcher.rb, line 34 def explanation "No description provided. See RDoc for simple_matcher()" end
# File lib/spec/matchers/simple_matcher.rb, line 26 def failure_message_for_should @failure_message || (@description.nil? ? explanation : %[expected #{@description.inspect} but got #{@given.inspect}]) end
Generated with the Darkfish Rdoc Generator 2.