method
respond_to?
v4.0.2 -
Show latest stable
- Class:
ActionDispatch::Response
respond_to?(method)public
No documentation available.
# File actionpack/lib/action_dispatch/http/response.rb, line 172
def respond_to?(method)
if method.to_s == 'to_path'
stream.respond_to?(:to_path)
else
super
end
end