There's no documentation for this item.
Source Code
# File 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
<code/>and<pre/>for code samples.