From: Mohammad Khan Date: 2004-10-30T00:47:31+09:00 Subject: Re: true? & false? On Fri, 2004-10-29 at 11:22, James Edward Gray II wrote: > On Oct 29, 2004, at 10:16 AM, Mohammad Khan wrote: > > > I prefer something like, > > > > a.true? > > not, a == true or a.class == TrueClass > > if a > # ... > end > compare this, a.false? with a == false or a.class == FalseClass moreover, if (not a) .. end will return true for a=nil and a=false > James Edward Gray II -- Mohammad Khan Legal Computer Solutions, Inc.