Method: Mime::Type#method_missing
- Defined in:
- lib/dependency/mime_type.rb
#method_missing(method, *args) ⇒ Object (private)
221 222 223 224 225 226 227 |
# File 'lib/dependency/mime_type.rb', line 221 def method_missing(method, *args) if method.to_s =~ /(\w+)\?$/ $1.downcase.to_sym == to_sym else super end end |