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.
140 141 142 |
# File 'lib/rubygems/platform.rb', line 140 def ==(other) self.class === other and to_a == other.to_a end |