Module: MiniMime

Defined in:
lib/mini_mime.rb,
lib/mini_mime/version.rb

Defined Under Namespace

Modules: Configuration Classes: Db, Info

Constant Summary collapse

VERSION =
"1.1.2"

Class Method Summary collapse

Class Method Details

.lookup_by_content_type(mime) ⇒ Object


14
15
16
# File 'lib/mini_mime.rb', line 14

def self.lookup_by_content_type(mime)
  Db.lookup_by_content_type(mime)
end

.lookup_by_extension(extension) ⇒ Object


10
11
12
# File 'lib/mini_mime.rb', line 10

def self.lookup_by_extension(extension)
  Db.lookup_by_extension(extension)
end

.lookup_by_filename(filename) ⇒ Object


6
7
8
# File 'lib/mini_mime.rb', line 6

def self.lookup_by_filename(filename)
  Db.lookup_by_filename(filename)
end