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