class SuperDiff::ActiveSupport::Differs::HashWithIndifferentAccess

Public Class Methods

applies_to?(expected, actual) click to toggle source
# File lib/super_diff/active_support/differs/hash_with_indifferent_access.rb, line 5
def self.applies_to?(expected, actual)
  (
    expected.is_a?(::HashWithIndifferentAccess) &&
      actual.is_a?(::Hash)
  ) ||
  (
    expected.is_a?(::Hash) &&
      actual.is_a?(::HashWithIndifferentAccess)
  )
end

Protected Instance Methods

operation_tree_builder_class() click to toggle source
# File lib/super_diff/active_support/differs/hash_with_indifferent_access.rb, line 18
def operation_tree_builder_class
  OperationTreeBuilders::HashWithIndifferentAccess
end