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