def register_exporter(mime_types, klass = nil)
      mime_types = Array(mime_types)

      mime_types.each do |mime_type|
        self.config = hash_reassoc(config, :exporters, mime_type) do |_exporters|
          _exporters << klass
        end
      end
    end
def register_exporter(mime_types, klass = nil)
      mime_types = Array(mime_types)

      mime_types.each do |mime_type|
        self.config = hash_reassoc(config, :exporters, mime_type) do |_exporters|
          _exporters << klass
        end
      end
    end
Public: Registers a new Exporter `klass` for `mime_type`.

 If your exporter depends on one or more other exporters you can
 specify this via the `depend_on` keyword.

     register_exporter '*/*', Sprockets::Exporters::ZlibExporter

 This ensures that `Sprockets::Exporters::File` will always execute before
 `Sprockets::Exporters::Zlib`