Ruby - File IO
What will be the output of this Ruby code?
File.open('test.txt', 'w') { |f| f.puts 'Line 1' }
content = File.read('test.txt')
puts content