Object
# File lib/filemagic/ext.rb, line 60 def self.file_type(file, *flags) FileMagic.fm(*flags).file(file.respond_to?(:path) ? file.path : file) rescue FileMagic::FileMagicError end
[Validate]
Generated with the Darkfish Rdoc Generator 2.