Ruby allows you to delete both files and folders using the File and Dir classes's delete methods.
Correct Answer:
Verified
Q1: By default, a computer receives standard input
Q3: When executed on Microsoft Windows, Ruby program
Q4: By default, a computer sends standard output
Q5: Ruby lists the contents of a folder
Q6: Ruby allows you to create new folders
Q7: Using the File class's folder? method, you
Q8: If you attempt to delete a file
Q9: Ruby allows you to rename a file
Q10: To determine if a file or folder
Q11: The File class gives you access to
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents