From: "David A. Black" Date: 2010-05-01T00:31:46+09:00 Subject: Re: Return values of modifiers Hi -- On Sat, 1 May 2010, 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. I thought you were saying you *did* want it to be equivalent to that loop construct, rather than to the non-modifier while construct. Did I misunderstand? David -- David A. Black, Senior Developer, Cyrus Innovation Inc. THE Ruby training with Black/Brown/McAnally COMPLEAT Coming to Chicago area, June 18-19, 2010! RUBYIST http://www.compleatrubyist.com