Ruby - Error Handling
What will be the output of this Ruby code?
attempts = 0
begin
attempts += 1
puts "Try #{attempts}"
raise 'Error' if attempts < 3
rescue
retry
end
puts 'Done'