lib/aws/pageable_response.rb
def each_page(&block)
      if block_given?
        response = self
        yield(response)
        until response.last_page?
          response = response.next_page
          yield(response)
        end
      else
        to_enum(__method__)
      end
    end
# Yields the current and each following response to the given block.
# @yieldparam [Response] response
# @return [Enumerable,nil] Returns a new Enumerable if no block is given.
Yields the current and each following response to the given block.
Yields the current and each following response to the given block .
def each_page(&block)
      if block_given?
        response = self
        yield(response)
        until response.last_page?
          response = response.next_page
          yield(response)
        end
      else
        to_enum(__method__)
      end
    end
def each_page ( & block ) if block_given? response = self yield ( response ) until response . last_page? response = response . next_page yield ( response ) end else to_enum ( __method__ ) end end
Yields the current and each following response to the given block.
Yields the current and each following response to the given block .
Returns a new Enumerable if no block is given.
Returns a new Enumerable if no block is given .
Enumerable,nil
block
None