Ruby Vérifiez si le chemin est un répertoire

# Check if filesystem node at path "name" is a directory
File.directory?("name")
# Check if it's a file
File.file?("name")
Is Mayonnaise a Programming Language?