class ActionDispatch::Response::RackBody

def body

def body
  @response.body
end

def call(*arguments, &block)

def call(*arguments, &block)
  @response.stream.call(*arguments, &block)
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 BODY_METHODS.key?(method)
    @response.stream.respond_to?(method)
  else
    super
  end
end

def to_ary

def to_ary
  @response.stream.to_ary
end

def to_path

def to_path
  @response.stream.to_path
end