IP
Constructors
Class methods
[](string : String)
Constructs a new IPv4 or IPv6 IP::Address or IP::Block by interpreting the contents of a String.
Expects an address in acceptable form.
Raises: MalformedError when the input is malformed.
[]?(string : String)
Constructs a new IPv4 or IPv6 IP::Address by interpreting the contents of a String.
Expects an address in acceptable form.
Returns nil when the input is malformed.