class ActionController::Live::Response

def build_buffer(response, body)

def build_buffer(response, body)
  buf = Live::Buffer.new response
  body.each { |part| buf.write part }
  buf
end