class ActionDispatch::Response::Buffer

def each(&block)

def each(&block)
  if @str_body
    return enum_for(:each) unless block_given?
    yield @str_body
  else
    each_chunk(&block)
  end
end