struct

Ipconv::RangeGenerator

Inherits Enumerable < Struct < Value < Object

Constructors

new(cidr : CIDR, limit : UInt64 | Nil = nil, offset : UInt64 = 0_u64)
Source

Instance methods

cidr
Source
each

Must yield this collection's elements to the block.

Source
large?
Source
limit
Source
offset
Source
size

Returns the number of elements in the collection.

[1, 2, 3, 4].size # => 4
Source