instance method
method_missing
Ruby on Rails 3.0.20
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 220
def method_missing(method, *args)
if method.to_s =~ /(\w+)\?$/
$1.downcase.to_sym == to_sym
else
super
end
end
Defined in actionpack/lib/action_dispatch/http/mime_type.rb line 220
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Mime::Type