Sha256: 8d80e706a4b46e830584a291dae26876427e6c5360b9e2b8e525e306dd4916db
Contents?: true
Size: 536 Bytes
Versions: 1
Compression:
Stored size: 536 Bytes
Contents
require "singleton" 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
multi_mime-0.0.2 | lib/multi_mime/adapter.rb |