Methods
Class Public methods
new(response)
Source:
# File actionpack/lib/action_dispatch/http/response.rb, line 475
def initialize(response)
@response = response
end
Instance Public methods
body()
Source:
# File actionpack/lib/action_dispatch/http/response.rb, line 489
def body
@response.body
end
close()
Source:
# File actionpack/lib/action_dispatch/http/response.rb, line 483
def close
# Rack "close" maps to Response#abort, and *not* Response#close
# (which is used when the controller's finished writing)
@response.abort
end
each(*args, &block)
Source:
# File actionpack/lib/action_dispatch/http/response.rb, line 479
def each(*args, &block)
@response.each(*args, &block)
end