= private = protected
<=>(other)
Compares the ipaddr with another.
# File lib/ipaddr.rb, line 339 def <=>(other) other = coerce_other(other) rescue nil else @addr <=> other.to_i if other.family == @family end