0
Shouldn't the file have always the same name?
In this example two different file names are used: test.txt and text.txt.
2 Answers
+ 4
Yes, if you are referring to the Ruby Tutorial lesson on "Working with files", you are right. This has been reported already a few times ;)
https://www.sololearn.com/learn/Ruby/2745/
+ 1
Ok