0
RE: Getting File Info
Fill in the blanks to open the file "demo.txt" and output its contents if it is readable. if . ("demo.txt") File. ("demo.txt") end File writable? readable? file? read
2 Antworten
0
The answer is File readable? read
0
if File.readable? ("demo.txt")
File.read ("demo.txt")
end