Class FileType::Directory
In: lib/file_type.rb
Parent: Generic

Methods

Public Class methods

[Source]

# File lib/file_type.rb, line 286
    def self.match_type ( path, max, best )
      if path.exist? and path.directory?
        return [path.to_s.size, self]
      end
      return [max, best]
    end

[Validate]