Method: Gem::Platform#==

Defined in:
lib/rubygems/platform.rb

#==(other) ⇒ Object Also known as: eql?

Is other equal to this platform? Two platforms are equal if they have the same CPU, OS and version.



164
165
166
# File 'lib/rubygems/platform.rb', line 164

def ==(other)
  self.class === other && to_a == other.to_a
end