method
write
v7.1.3.4 -
Show latest stable
- Class:
ActionDispatch::Response::Buffer
write(string)public
No documentation available.
# File actionpack/lib/action_dispatch/http/response.rb, line 120
def write(string)
raise IOError, "closed stream" if closed?
@str_body = nil
@response.commit!
@buf.push string
end