method
<=>
<=>(other)
public
Hide source
# File lib/webrick/httpversion.rb, line 35 def <=>(other) unless other.is_a?(self.class) other = self.class.new(other) end if (ret = @major <=> other.major) == 0 return @minor <=> other.minor end return ret end