instance method
method_missing
Ruby on Rails 4.2.9
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 296
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 296
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Mime::Type