Module: ChupaText::MIMEType
- Defined in:
- lib/chupa-text/mime-type.rb
Class Method Summary collapse
-
.registry ⇒ MIMETypeRegistry
The MIME type registry for this process.
-
.registry=(registry) ⇒ Object
Normally, this method should not be used.
Class Method Details
.registry ⇒ MIMETypeRegistry
Returns The MIME type registry for this process.
22 23 24 |
# File 'lib/chupa-text/mime-type.rb', line 22 def registry @@registry ||= MIMETypeRegistry.new end |
.registry=(registry) ⇒ Object
Normally, this method should not be used. It is just for test.
31 32 33 |
# File 'lib/chupa-text/mime-type.rb', line 31 def registry=(registry) @@registry = registry end |