Class: SuperDiff::Basic::Differs::DefaultObject
- Inherits:
-
Core::AbstractDiffer
- Object
- Core::AbstractDiffer
- SuperDiff::Basic::Differs::DefaultObject
- Defined in:
- lib/super_diff/basic/differs/default_object.rb
Direct Known Subclasses
Class Method Summary collapse
Methods inherited from Core::AbstractDiffer
Class Method Details
.applies_to?(expected, actual) ⇒ Boolean
7 8 9 |
# File 'lib/super_diff/basic/differs/default_object.rb', line 7 def self.applies_to?(expected, actual) expected.instance_of?(actual.class) end |