lib/cubits/resource_collection.rb
def each(&_block)
      return to_enum unless block_given?
      page_count.times do |i|
        page(i + 1).each do |r|
          yield r
        end
      end
    end
# Iterates through the collection, yielding the giving block for each resource.
#
Iterates through the collection, yielding the giving block for each resource.
Iterates through the collection yielding the giving block for each resource .
def each(&_block)
      return to_enum unless block_given?
      page_count.times do |i|
        page(i + 1).each do |r|
          yield r
        end
      end
    end
def each ( & _block ) return to_enum unless block_given? page_count . times do | i | page ( i + 1 ) . each do | r | yield r end end end
Iterates through the collection, yielding the giving block for each resource.
Iterates through the collection yielding the giving block for each resource .
_block