Class: SuperDiff::EqualityMatchers::Base
- Inherits:
-
Object
- Object
- SuperDiff::EqualityMatchers::Base
show all
- Defined in:
- lib/super_diff/equality_matchers/base.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.applies_to?(_value) ⇒ Boolean
4
5
6
|
# File 'lib/super_diff/equality_matchers/base.rb', line 4
def self.applies_to?(_value)
raise NotImplementedError
end
|
Instance Method Details
#call ⇒ Object
19
20
21
22
23
24
25
|
# File 'lib/super_diff/equality_matchers/base.rb', line 19
def call
if expected == actual
""
else
fail
end
end
|