directory?(p1) public

Returns true if the named file is a directory, false otherwise.

File.directory?(".")
Show source
Register or log in to add new notes.