Sha256: 10949ecadc70ae7edb7f888e6e49ee5efc0dbfa33a5f3af170631f852462be11
Contents?: true
Size: 542 Bytes
Versions: 5
Compression:
Stored size: 542 Bytes
Contents
require 'singleton' require 'multi_mime/null_type' module MultiMime class Adapter include Singleton class << self def type_for(mime_type, opts = {}) instance.type_for(mime_type, opts) end def type_for_extension(extension, opts = {}) instance.type_for_extension(extension, opts) end def type_for_path(path, opts = {}) instance.type_for_path(path, opts) end def type_for_file(file, opts = {}) instance.type_for_file(file, opts) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems