From: Ryan Davis Date: 2011-08-22T10:19:05+09:00 Subject: Re: Possble bug in Ruby parser (Fixnum#times within "case" statement) On Aug 21, 2011, at 16:56 , Iņaki Baz Castillo wrote: >> or just get rid of your loop as it contributes nothing. > > The provided code was just a simplification of my real code. In my > real code I do need such a while to check the return value of the case > statement to continue looping or not. I still say it contributes nothing and only serves to obfuscate your code. You can always pull it out to something MUCH more readable: kk until valid?