lib/contrast/matching_exception.rb in contrast-0.1.4 vs lib/contrast/matching_exception.rb in contrast-0.2.0

- old
+ new

@@ -1,5 +1,10 @@ +require 'awesome_print' module Contrast class MatchingException < StandardError attr_accessor :results + def to_s + return 'The results did not match, but I cannot tell you why.' if results.nil? || results.empty? + return self.results.ai + end end end