Q. What does the truncate method do in Ruby file I/O?
β
Correct Answer: (D)
Truncates the file to a specified size
You must be Logged in to update hint/solution