method
respond_to?
v3.2.1 -
Show latest stable
- Class:
ActionDispatch::Response
respond_to?(method)public
No documentation available.
# File actionpack/lib/action_dispatch/http/response.rb, line 101
def respond_to?(method)
if method.to_sym == :to_path
@body.respond_to?(:to_path)
else
super
end
end