class
Tmdb::LazyIterator(T)
- Tmdb::LazyIterator(T)
- Reference
- Object
Included Modules
- Enumerable(T)
Defined in:
lazy_iterator.crConstructors
Instance Method Summary
-
#each(&)
Must yield this collection's elements to the block.
- #resource : Resource
- #total_items : Int32
Constructor Detail
def self.new(resource : Resource, max_pages : Int32 = 500, skip_cache : Bool = false, initializer : JSON::Any -> T = ->(item : JSON::Any) do
T.new(item)
end)
#
Instance Method Detail
def each(&)
#
Description copied from module Enumerable(T)
Must yield this collection's elements to the block.