Method: Mime::Type#method_missing

Defined in:
actionpack/lib/action_dispatch/http/mime_type.rb

#method_missing(method) ⇒ Object (private)



336
337
338
339
340
341
342
# 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