Ruby - File IO
What will be the output of this Ruby code if
file.txt initially contains "Line1\n"?File.open('file.txt', 'a') do |f|
f.puts 'Line2'
end
content = File.read('file.txt')
puts content