def all(options = {}, &block)
      return @query.connection.accumulate(
        :path => 'streams',
        :json => 'streams',
        :create => -> hash { Stream.new(hash, @query) },
        :limit => options[:limit],
        :offset => options[:offset],
        &block
      )
    end
def all(options = {}, &block)
      return @query.connection.accumulate(
        :path => 'streams',
        :json => 'streams',
        :create => -> hash { Stream.new(hash, @query) },
        :limit => options[:limit],
        :offset => options[:offset],
        &block
      )
    end
Get all currently live streams sorted by descending viewer count.
 @example
   Twitch.streams.all
 @example
   Twitch.streams.all(:offset => 100, :limit => 10)
 @example
   Twitch.streams.all do |stream|
     next if stream.viewer_count < 1000
     puts stream.url
   end
 @param options [Hash] Limit criteria.
 @option options [Fixnum] :limit (nil) Limit on the number of results returned.
 @option options [Fixnum] :offset (0) Offset into the result set to begin enumeration.
 @yield Optional. If a block is given, each stream is yielded.
 @yieldparam [Stream] stream Current stream.
 @see #get
 @see https://github.com/justintv/Twitch-API/blob/master/v2_resources/streams.md#get-streams GET /streams
 @return [Array<Stream>] Currently live streams, sorted by descending viewer count, if no block is given.
 @return [nil] If a block is given.