# File lib/rubygems/version.rb, line 188 def <=>(other) return nil unless self.class === other return 1 unless other mine, theirs = balance(self.parts.dup, other.parts.dup) mine <=> theirs end