class Dry::Monads::SuperDiff::Tuple::Dict::OTFlatteners::MonasAsCollectionConstructor::RegularConstructor::TupleConstructor::OT::RegularConstructor::TupleConstructor::Tuple::Dict::OTBuilders::CompareDefault::Dict::CompareDicts
Public Class Methods
Source
# File lib/dry/monads/extensions/super_diff.rb, line 215 def self.applies_to?(expected, actual) super && IS_HASH.call(expected) && IS_HASH.call(actual) end
Private Instance Methods
Source
# File lib/dry/monads/extensions/super_diff.rb, line 221 def get_value(object) v = EXTRACT_VALUE.(object) {value: ::Dry::Monads::SuperDiff::Dict.new(v)} end