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