Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Platform#eql?
(untyped other) -> bool
eql?(other)
lib/rubygems/platform.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems/platform.rb, line 164
def ==(other)
self.class === other && to_a == other.to_a
end
Alias of #==
Is other equal to this platform? Two platforms are equal if they have the same CPU, OS and version.