struct

Cl8r::IPAM::IPRange(T)

Inherits Struct < Value < Object

Represents an inclusive range of IP addresses between start and end addresses.

Constructors

new(start_address : T, end_address : T)

Initializes an IPRange from start and end addresses.

Source

Instance methods

contains?(address : T) : Bool

Returns true if the range includes the given address.

Source
end_address
Source
size
Source
start_address
Source
to_s(io : IO) : Nil

Outputs IP range in "start - end" format.

Source