instance method
Gem::NameTuple#eql?
eql?(other)
lib/rubygems/name_tuple.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/name_tuple.rb, line 107
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 #==