module MIME
The namespace for MIME applications, tools, and libraries.
Private Instance Methods
warn_about_moved_constants(name)
click to toggle source
# File lib/mime/types/deprecations.rb, line 46 def warn_about_moved_constants(name) MIME::Types.logger.warn "#{caller[1]}: MIME::#{name} is deprecated. Use MIME::Type::#{name} instead. ".chomp end