Re: Return values of modifiers
- From: Michel Demazure <michel@xxxxxxxxxxxx>
- Date: Fri, 30 Apr 2010 10:28:44 -0500
David A. Black wrote:
In the case of the while in modifier position, it looks like it'sYes, that was my point.
equivalent to this:
while <some_test>
ind += 1
end
and it is. I prefer this to having it be equivalent to:
loop do x += 1; break x if <some_test>; end
David
_md
--
Posted via http://www.ruby-forum.com/.
.
- Follow-Ups:
- Re: Return values of modifiers
- From: Benoit Daloze
- Re: Return values of modifiers
- From: Michel Demazure
- Re: Return values of modifiers
- From: David A. Black
- Re: Return values of modifiers
- References:
- Return values of modifiers
- From: Michel Demazure
- Re: Return values of modifiers
- From: Robert Klemme
- Re: Return values of modifiers
- From: Michel Demazure
- Re: Return values of modifiers
- From: David A. Black
- Return values of modifiers
- Prev by Date: Need informations
- Next by Date: Re: Return values of modifiers
- Previous by thread: Re: Return values of modifiers
- Next by thread: Re: Return values of modifiers
- Index(es):