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 <mkhan / lextranet.com> Legal Computer Solutions, Inc.