class method self.new

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18

Signature

self.new()

No documentation comment.

Source
# File actionpack/lib/action_controller/response.rb, line 42
    def initialize
      @status = 200
      @header = Rack::Utils::HeaderHash.new(DEFAULT_HEADERS)

      @writer = lambda { |x| @body << x }
      @block = nil

      @body = "",
      @session = []
      @assigns = []
    end

Defined in actionpack/lib/action_controller/response.rb line 42 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::Response

Type at least 2 characters to search.

↑↓ navigate · open · esc close