Module: SuperDiff::ActiveSupport::ObjectInspection::MapExtension

Defined in:
lib/super_diff/active_support/object_inspection/map_extension.rb

Instance Method Summary collapse

Instance Method Details

#call(object) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/super_diff/active_support/object_inspection/map_extension.rb', line 5

def call(object)
  if object.is_a?(::HashWithIndifferentAccess)
    Inspectors::HashWithIndifferentAccess
  else
    super
  end
end