bbatsov/ruby-style-guide — pull request #152 by tgaff (2013-03-19 16:44:03+00:00)
Title: For post-loop tests use Kernel#loop over begin/end/while

For post-loop tests use Kernel#loop over begin/end/while or begin/end/until.

Based on Matz's comments:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/6745

And also:
http://rosettacode.org/wiki/Loops/Do-while#Ruby