magic

in lib/magic/core/file.rb [11:14]


    def magic(path, flags = Magic::NONE)
      Magic.open(flags) {|mgc| mgc.file(path) }
    end