1 2 3 4 5 6 7 8 9 10 11 12
# for setting a value in some odd manner value = begin final_value = 5 puts "Some lengthy process" final_value end # or for looping i = 0 begin puts "Hi there" end while (i += 1) < 5
1 2 3 4 5 6
Some lengthy process Hi there Hi there Hi there Hi there Hi there