Michel Demazure wrote:
> Robert Dober wrote:
>> On Sat, May 1, 2010 at 8:38 AM, Michel Demazure <michel / demazure.com> 
>> 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 <false> ; ... ; 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/.