From: mark sparshatt Date: 2004-11-02T06:14:18+09:00 Subject: Re: Another scrach on head Jim Weirich wrote: > Austin Ziegler said: > >>See, that's why I'm not getting this. [...] > > > Me too. > > Actually, I see #true? as potentially confusing. Imagine explaining to a > newbie why > > if cond > > and > > if cond.true? > > are not equivalent. > Another problem is that a lot (perhaps most) tests within ruby don't return the literal TRUE value. So if people get used to using if cond.true? rather than just if cond then they'll be surprised when something like re = /./ if re.match("a").true? then puts "match" end never prints match -- Mark Sparshatt