method
to_a
v7.0.0 -
Show 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