module ChupaText::MIMEType
Public Class Methods
Source
# File lib/chupa-text/mime-type.rb, line 22 def registry @@registry ||= MIMETypeRegistry.new end
@return [MIMETypeRegistry] The MIME type registry for this
process.
Source
# File lib/chupa-text/mime-type.rb, line 31 def registry=(registry) @@registry = registry end
Normally, this method should not be used. It is just for test.
@param [MIMETypeRegistry, nil] registry
The new MIME type registry for this process. If you specify `nil`, reset the registry.