1 2 3 4 5 6 7 8 9 10
a = 0 while true begin a += 1 break if a > 10 ensure puts "ensure: a=#{a}" end end p a