class MimeMagic

def self.add(type, options)

* :comment: Comment string
* :magic: Mime magic specification
* :parents: String list or single string of parent mime types
* :extensions: String list or single string of file extensions
Option keys:

* options: Options hash
* type: Mime type
Add custom mime type. Arguments:
def self.add(type, options)
  extensions = [options[:extensions]].flatten.compact
  TYPES[type] = [extensions,
                [options[:parents]].flatten.compact,
                options[:comment]]
  extensions.each {|ext| EXTENSIONS[ext] = type }
  MAGIC.unshift [type, options[:magic]] if options[:magic]
end