Sha256: 5b1a2d5ea1e5c8dff2b8e5d1591908cca3d657d04e6c86d1e4882d426bfa0da5
Contents?: true
Size: 199 Bytes
Versions: 5
Compression:
Stored size: 199 Bytes
Contents
class PageByPage class Enum def initialize from: 1, step: 1 @enum = (from..Float::INFINITY).step(step).lazy.map(&:to_i).to_enum end def next @enum.next end end end
Version data entries
5 entries across 5 versions & 1 rubygems