Ruby - File IO
Which of the following is the correct syntax to read the entire content of a file named
log.txt in Ruby?log.txt in Ruby?File.read('log.txt') is correct.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions