0
How do I find the file that I just created on my iPad?
Here is the code I used: f = File.open("testappend.txt", "a+"){ |f| L1 = "Test line 1” L2 = "Test line 2” L3 = "Test Line 3” L4 = "Test Line 4” L5 = "Test Line 5” f.puts L1 f.puts L2 f.puts L3 f.puts L4 f.puts L5 } #f.close puts File.read("testappend.txt")
1 Resposta
+ 1
log on to sololearn.com and look at your profiles... your codes are saved there