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.0.2"

Class Method Summary collapse

Class Method Details

.lookup_by_content_type(mime) ⇒ Object


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

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

.lookup_by_extension(extension) ⇒ Object


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

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

.lookup_by_filename(filename) ⇒ Object


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

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