eql?(other)
A Version is only eql? to another version if it’s specified to the same precision. Version “1.0” is not the same as version “1”.
# File lib/rubygems/version.rb, line 239 def eql? other self.class === other and @version == other._version end