method
new
v2.3.8 -
Show latest stable
- Class:
ActionController::Response
new()public
No documentation available.
# 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