Class: SuperDiff::Differs::Hash
- Defined in:
- lib/super_diff/differs/hash.rb
Direct Known Subclasses
ActiveSupport::Differs::HashWithIndifferentAccess, RSpec::Differs::HashIncluding
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.applies_to?(expected, actual) ⇒ Boolean
4 5 6 |
# File 'lib/super_diff/differs/hash.rb', line 4 def self.applies_to?(expected, actual) expected.is_a?(::Hash) && actual.is_a?(::Hash) end |