struct

Redis::Commands::EmptyEnumerable

Inherits Enumerable < Struct < Value < Object

This type exists to avoid allocation of an array on the heap.

Constructors

Instance methods

each

Must yield this collection's elements to the block.

Source
initialize
Source
size

Returns the number of elements in the collection.

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