File.directory?(file_name) â true or false
Class Public methods
Returns true
if the named file is a directory, or a symlink
that points at a directory, and false
otherwise.
file_name can be an IO object.
1 | File .directory?( "." ) |
Please login to continue.