method
respond_to?
v7.1.3.4 -
Show latest stable
- Class:
ActionDispatch::Response::RackBody
respond_to?(method, include_private = false)public
No documentation available.
# File actionpack/lib/action_dispatch/http/response.rb, line 502
def respond_to?(method, include_private = false)
if BODY_METHODS.key?(method)
@response.stream.respond_to?(method)
else
super
end
end