method
coerce_other
coerce_other(other)
private
Hide source
# File lib/ipaddr.rb, line 513 def coerce_other(other) case other when IPAddr other when String self.class.new(other) else self.class.new(other, @family) end end