module ChupaText::MIMEType
Public Class Methods
registry()
click to toggle source
@return [MIMETypeRegistry] The MIME type registry for this
process.
# File lib/chupa-text/mime-type.rb, line 22 def registry @@registry ||= MIMETypeRegistry.new end
registry=(registry)
click to toggle source
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.
# File lib/chupa-text/mime-type.rb, line 31 def registry=(registry) @@registry = registry end