Module: FileMagic::Ext::InstanceMethods

Defined in:
lib/filemagic/ext.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) content_type(*flags)



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

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

- (Object) file_type(*flags) 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

- (Object) mime_type(*flags) 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