Examveda

What does the File.rename() method in Ruby do?

A. Creates a file

B. Deletes a file

C. Copies a file

D. Renames a file

Answer: Option D


This Question Belongs to Ruby Programming >> File Input Output In Ruby

Join The Discussion

Related Questions on File Input Output in Ruby