--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 <michel / demazure.com>wrote:

> David A. Black wrote:
>
> > In the case of the while in modifier position, it looks like it's
> > equivalent to this:
> >
> >    while <some_test>
> >      ind + 
> >    end
> >
> > and it is. I prefer this to having it be equivalent to:
> >
> >    loop do x + ; break x if <some_test>; end
> >
> >
> > David
> >
> Yes, that was my point.
> _md
> --
> Posted via http://www.ruby-forum.com/.
>
>

--0016e65b5b0a408f21048579cf47--