method
exist?
v1_9_2_180 -
Show latest stable
- Class:
Dir
exist?(p1)public
?
Returns true if the named file is a directory, or a symlink that points at a directory, and false otherwise.
File.directory?(".")
exist?(p1)?
Returns true if the named file is a directory, or a symlink that points at a directory, and false otherwise.
File.directory?(".")