instance method
Gem::Platform#eql?
(untyped other) -> bool
eql?(other)
lib/rubygems/platform.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/platform.rb, line 173
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.
See also
#==
#deconstruct_keys
#normalized_linux_version
#deconstruct
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0