module Dry::Core::Equalizer::Methods

def ==(other)

Other tags:
    Api: - public

Returns:
  • (Boolean) -

Parameters:
  • other (Object) --
def ==(other)
  other.is_a?(self.class) && cmp?(__method__, other)
end

def eql?(other)

Other tags:
    Api: - public

Returns:
  • (Boolean) -

Parameters:
  • other (Object) --
def eql?(other)
  instance_of?(other.class) && cmp?(__method__, other)
end