From: Michel Demazure Date: 2010-05-01T16:25:55+09:00 Subject: Re: Return values of modifiers Michel Demazure wrote: > Robert Dober wrote: >> On Sat, May 1, 2010 at 8:38 AM, Michel Demazure >> wrote: >>> Benoit Daloze wrote: >> >>> Inserting a piece of code between 'if false' and 'end' is not equivalent >>> to commenting it out, and does not means 'jump over it'. I feel it >>> should. >> The parser parses it, that is all, it is never executed I fail to see >> what your desired behavior is? >> Cheers >> R. I would like the return value of à block 'if ; ... ; end' to be the last return value before parsing the 'if'. As if the block did not exist, or was commented out. -- Posted via http://www.ruby-forum.com/.