2013-06-16 beginのブロックに対してwhileが行える Ruby Rubyって面白いなー。 i = 0 begin print i i += 1 end while i < 10 #=> 0123456789