Exception: Contrast::MatchingException
- Defined in:
- lib/contrast/matching_exception.rb
Instance Attribute Summary collapse
-
#results ⇒ Object
Returns the value of attribute results.
Instance Method Summary collapse
Instance Attribute Details
#results ⇒ Object
Returns the value of attribute results.
4 5 6 |
# File 'lib/contrast/matching_exception.rb', line 4 def results @results end |
Instance Method Details
#to_s ⇒ Object
5 6 7 8 |
# File 'lib/contrast/matching_exception.rb', line 5 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 |