Class: SuperDiff::EqualityMatchers::Default
- Defined in:
- lib/super_diff/equality_matchers/default.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
Class Method Details
.applies_to?(_value) ⇒ Boolean
4 5 6 |
# File 'lib/super_diff/equality_matchers/default.rb', line 4 def self.applies_to?(_value) true end |
Instance Method Details
#fail ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/super_diff/equality_matchers/default.rb', line 8 def fail <<~OUTPUT.strip Differing objects. #{expected_line} #{actual_line} #{diff_section} OUTPUT end |