method
respond_to?
v7.0.0 -
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 494
def respond_to?(method, include_private = false)
if method.to_sym == :to_path
@response.stream.respond_to?(method)
else
super
end
end