From: Benoit Daloze Date: 2010-05-01T05:17:00+09:00 Subject: Re: Return values of modifiers --0016e65b5b0a408f21048579cf47 Content-Type: text/plain; charset=ISO-8859-1 Sure, it would be nice while/until loops return value of the last iteration, I agree. On 30 April 2010 17:28:44 UTC+2, Michel Demazure wrote: > David A. Black wrote: > > > In the case of the while in modifier position, it looks like it's > > equivalent to this: > > > > while > > ind += 1 > > end > > > > and it is. I prefer this to having it be equivalent to: > > > > loop do x += 1; break x if ; end > > > > > > David > > > Yes, that was my point. > _md > -- > Posted via http://www.ruby-forum.com/. > > --0016e65b5b0a408f21048579cf47--