Module: ChupaText::MIMEType

Defined in:
lib/chupa-text/mime-type.rb

Class Method Summary collapse

Class Method Details

.registryMIMETypeRegistry



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