Deleting a directory is similar to deleting a file: : Dir.delete « File Directory « Ruby






Deleting a directory is similar to deleting a file:

Dir.delete("testdir")

 

Related examples in the same category