class ActionDispatch::Response::RackBody
def body
def body @response.body end
def close
def close # Rack "close" maps to Response#abort, and *not* Response#close # (which is used when the controller's finished writing) @response.abort end
def each(*args, &block)
def each(*args, &block) @response.each(*args, &block) end
def initialize(response)
def initialize(response) @response = response end
def respond_to?(method, include_private = false)
def respond_to?(method, include_private = false) if method.to_sym == :to_path @response.stream.respond_to?(method) else super end end
def to_ary
def to_ary nil end
def to_path
def to_path @response.stream.to_path end