method
respond_to?
v5.2.3 -
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 487
def respond_to?(method, include_private = false)
if method.to_s == "to_path"
@response.stream.respond_to?(method)
else
super
end
end