instance method
method_missing
Ruby on Rails 5.2.8.1
Since v2.2.3 PrivateSignature
method_missing(method, *args)
No documentation comment.
Parameters
-
methodreq -
argsrest
Source
# File actionpack/lib/action_dispatch/http/mime_type.rb, line 293
def method_missing(method, *args)
if method.to_s.ends_with? "?"
method[0..-2].downcase.to_sym == to_sym
else
super
end
end
Defined in actionpack/lib/action_dispatch/http/mime_type.rb line 293
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Mime::Type