From: ts Date: 2004-11-26T03:10:11+09:00 Subject: Re: Why does this parse? >>>>> "M" == Michael Campbell writes: M> if (x != y || M> x != z M> y != z) M> puts "foo" M> end ruby see it as a block, the last expression will give it the value for the test uln% ruby -e 'if (1 != 1 || 1 != 1; 1); puts "ok"; end' ok uln% uln% ruby -e 'if (1 != 1 || 1 != 1; nil); puts "ok"; end' uln% Guy Decoux