End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::NameTuple#eql?
eql?(other)
lib/rubygems/name_tuple.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/rubygems/name_tuple.rb, line 102
def ==(other)
case other
when self.class
@name == other.name &&
@version == other.version &&
@platform == other.platform
when Array
to_a == other
else
false
end
end
Alias of #==