Module: MIME
- Defined in:
- lib/mime/types/deprecations.rb,
lib/mime/types/loader.rb,
lib/mime/types/columnar.rb
Overview
The namespace for MIME applications, tools, and libraries.
Defined Under Namespace
Class Method Summary collapse
-
.const_missing(name) ⇒ Object
MIME::InvalidContentType was moved to MIME::Type::InvalidContentType.
Class Method Details
.const_missing(name) ⇒ Object
MIME::InvalidContentType was moved to MIME::Type::InvalidContentType. Provide a single warning about this fact in the interim.
35 36 37 38 39 40 41 42 43 |
# File 'lib/mime/types/deprecations.rb', line 35 def const_missing(name) # :nodoc: case name.to_s when 'InvalidContentType' warn_about_moved_constants(name) MIME::Type.const_get(name.to_sym) else super end end |