module FileMagic::Ext::InstanceMethods

Public Instance Methods

content_type(*flags) click to toggle source
# File lib/filemagic/ext.rb, line 48
def content_type(*flags)
  self.class.content_type(self, *flags)
end
file(*flags)
Alias for: file_type
file_type(*flags) click to toggle source
# File lib/filemagic/ext.rb, line 36
def file_type(*flags)
  self.class.file_type(self, *flags)
end
Also aliased as: file
mime(*flags)
Alias for: mime_type
mime_type(*flags) click to toggle source
# File lib/filemagic/ext.rb, line 42
def mime_type(*flags)
  self.class.mime_type(self, *flags)
end
Also aliased as: mime