Sha256: e7f60ed2034fc54db80f06eefe1778825203c5c921351bf439e810f7bb86d129
Contents?: true
Size: 338 Bytes
Versions: 2
Compression:
Stored size: 338 Bytes
Contents
require 'awesome_print' module Contrast class MatchingException < StandardError def initialize(results) @results = results end 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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
contrast-1.1.0 | lib/contrast/matching_exception.rb |
contrast-1.0.0 | lib/contrast/matching_exception.rb |