module Sinatra::Streaming::Stream

def each

def each
  # that way body.each.map { ... } works
  return self unless block_given?
  super
end