method
to_a
rails latest stable - Class:
ActionDispatch::Response
to_a()public
Turns the Response into a Rack-compatible array of the status, headers, and body. Allows explicit splatting:
status, headers, body = *response
to_a()Turns the Response into a Rack-compatible array of the status, headers, and body. Allows explicit splatting:
status, headers, body = *response