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 Answer
+ 1
log on to sololearn.com and look at your profiles... your codes are saved there