class ActionDispatch::Response::Buffer
def write(string)
def write(string) raise IOError, "closed stream" if closed? @str_body = nil @response.commit! @buf.push string end
def write(string) raise IOError, "closed stream" if closed? @str_body = nil @response.commit! @buf.push string end