= private = protected
<=>(other)
Compares this version with other according to the HTTP specification rules.
# File lib/webrick/httpversion.rb, line 58 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