Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::NameTuple#==
==(other)
lib/rubygems/name_tuple.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/name_tuple.rb, line 101
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