+ 3
What's to be in the "____"?
if File.file?("demo.txt") f = File.open("demo.txt", "r") puts f.____ f.close else puts "File does not exist" end
1 Answer
+ 10
maybe read
if File.file?("demo.txt") f = File.open("demo.txt", "r") puts f.____ f.close else puts "File does not exist" end