File Directory Ruby

File.rename("file1.txt", "file2.txt")