# File lib/new_relic/version.rb, line 38 def <=>(other) other = self.class.new(other) if other.is_a? String self.class.compare(self.parts, other.parts) end