method
render
v5.1.7 -
Show latest stable
- Class:
ActionDispatch::DebugExceptions
render(status, body, format)private
No documentation available.
# File actionpack/lib/action_dispatch/middleware/debug_exceptions.rb, line 155
def render(status, body, format)
[status, { "Content-Type" => "#{format}; charset=#{Response.default_charset}", "Content-Length" => body.bytesize.to_s }, [body]]
end