3 ms·
I guess I should have specified "where f is a file handle": f = File.open("foo", "r") f.read f = File.open("foo", "w+") f.write(x)
by egonschiele 14y ago
I guess I should have specified "where f is a file handle":
f = File.open("foo", "r")
f.read
f = File.open("foo", "w+")
f.write(x)