method

out

out(output = $stdout, &block)
public

No documentation available.

# File actionpack/lib/action_controller/rack_process.rb, line 169
    def out(output = $stdout, &block)
      # Nasty hack because CGI sessions are closed after the normal
      # prepare! statement
      set_cookies!

      @block = block
      @status = headers.delete("Status")
      if [204, 304].include?(status.to_i)
        headers.delete("Content-Type")
        [status, headers.to_hash, []]
      else
        [status, headers.to_hash, self]
      end
    end