File.unlink does exactly the same thing as File.delete. : unlink « File Directory « Ruby






File.unlink does exactly the same thing as File.delete.


File.delete("file1.txt")
File.delete("file2.txt", "file3.txt", "file4.txt")
File.unlink("file1.txt")

 

Related examples in the same category