Module: FileMagic::Ext::InstanceMethods

Defined in:
lib/filemagic/ext.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) content_type(*flags)



50
51
52
# File 'lib/filemagic/ext.rb', line 50

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

- (Object) file_type(*flags) Also known as: file



38
39
40
# File 'lib/filemagic/ext.rb', line 38

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

- (Object) mime_type(*flags) Also known as: mime



44
45
46
# File 'lib/filemagic/ext.rb', line 44

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