= private = protected
==(other)
Returns true if two ipaddr are equal.
# File lib/ipaddr.rb, line 134 def ==(other) if other.kind_of?(IPAddr) && @family != other.family return false end return (@addr == other.to_i) end