IP::Block::IPv6
Inherits IP::Block < Comparable < Struct < Value < Object
Constructors
Constructs a new IP::Block::IPv6 from an address and the block size, [0-128].
Raises: MalformedError when the input is malformed.
Constructs a new IP::Block::IPv6 by interpreting the contents of a given String.
Expects a definition in CIDR notation similar to XXXX:XXXX::XXXX:XXXX:XXXX/[0-128], or XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX/[0-128].
Raises: MalformedError when the input is malformed.
Class methods
Constructs a new IP::Block::IPv6 from an address and the block size, [0-128].
Returns nil when the input is malformed.
Constructs a new IP::Block::IPv6 by interpreting the contents of a given String.
Expects a definition in CIDR notation similar to XXXX:XXXX::XXXX:XXXX:XXXX/[0-128], or XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX/[0-128].
Returns nil when the input is malformed.