Class: SuperDiff::ObjectInspection::Inspectors::Hash

Inherits:
Base
  • Object
show all
Defined in:
lib/super_diff/object_inspection/inspectors/hash.rb

Class Method Summary collapse

Methods inherited from Base

#call

Class Method Details

.applies_to?(value) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/super_diff/object_inspection/inspectors/hash.rb', line 5

def self.applies_to?(value)
  value.is_a?(::Hash)
end