Ruby - File IO
What is wrong with this Ruby code snippet?
content = File.read puts content
content = File.read puts content
File.read must be called with a filename string argument.File.read without arguments causes an ArgumentError.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions