module Dry::Core::Equalizer::Methods
def ==(other)
- Api: - public
Returns:
-
(Boolean)
-
Parameters:
-
other
(Object
) --
def ==(other) other.is_a?(self.class) && cmp?(__method__, other) end
def eql?(other)
- Api: - public
Returns:
-
(Boolean)
-
Parameters:
-
other
(Object
) --
def eql?(other) instance_of?(other.class) && cmp?(__method__, other) end