Module: FileMagic::Ext::InstanceMethods

Defined in:
lib/filemagic/ext.rb

Instance Method Summary collapse

Instance Method Details

#content_type(*flags) ⇒ Object



48
49
50
# File 'lib/filemagic/ext.rb', line 48

def content_type(*flags)
  self.class.content_type(self, *flags)
end

#file_type(*flags) ⇒ Object Also known as: file



36
37
38
# File 'lib/filemagic/ext.rb', line 36

def file_type(*flags)
  self.class.file_type(self, *flags)
end

#mime_type(*flags) ⇒ Object Also known as: mime



42
43
44
# File 'lib/filemagic/ext.rb', line 42

def mime_type(*flags)
  self.class.mime_type(self, *flags)
end