instance method
method_missing
Ruby on Rails edge
Private — implementation detail, not part of the public APISignature
method_missing(method, ...)
No documentation comment.
Parameters
-
methodreq -
...req
Source
# File actionpack/lib/action_dispatch/http/mime_type.rb, line 420
def method_missing(method, ...)
if method.end_with?("?")
method[0..-2].downcase.to_sym == to_sym
else
super
end
end
Defined in actionpack/lib/action_dispatch/http/mime_type.rb line 420
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Mime::Type