class

KemalWAF::CIDRNetwork

Inherits Reference / Object

============================================================================= CIDR Network (simplified - used for display/logging)

Constructors

new(cidr_string : String)
Source

Instance methods

is_ipv6
Source
is_ipv6=(is_ipv6 : Bool)
Source
network_ip
Source
network_ip=(network_ip : String)
Source
prefix
Source
prefix=(prefix : Int32)
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source