instance method
method_missing
Ruby on Rails 8.1.2
Since v2.2.3 PrivateSignature
method_missing(method, ...)
No documentation comment.
Parameters
-
methodreq -
...req
Source
# File actionpack/lib/action_dispatch/http/mime_type.rb, line 336
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 336
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Mime::Type