Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_3_125) is shown here.
valid?(addr)
public
Returns true if addr is
either a valid IPv4 or IPv6 address.
# File lib/ipaddr.rb, line 50
def valid?(addr)
valid_v4?(addr) || valid_v6?(addr)
end