method

write

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Buffer
write(string) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.