class ChupaText::ConfigurationLoader::MIMETypesLoader

Public Class Methods

new(registry) click to toggle source
# File lib/chupa-text/configuration-loader.rb, line 87
def initialize(registry)
  @registry = registry
end

Public Instance Methods

[]=(extension, mime_type) click to toggle source
# File lib/chupa-text/configuration-loader.rb, line 91
def []=(extension, mime_type)
  @registry.register(extension, mime_type)
end