class ActionDispatch::Response

def body=(body)

Experimental RBS support (using type sampling data from the type_fusion project).

def body=: (Array[String] body) -> ActionDispatch::Response::Buffer

This signature was generated using 1 sample from 1 application.

Allows you to manually set or override the response body.
def body=(body)
  if body.respond_to?(:to_path)
    @stream = body
  else
    synchronize do
      @stream = build_buffer self, munge_body_object(body)
    end
  end
end