From: Gavin Sinclair Date: 2004-11-12T07:55:31+09:00 Subject: Re: true? & false? On Friday, November 12, 2004, 6:56:17 AM, Austin wrote: > On Fri, 12 Nov 2004 04:47:27 +0900, Logan Capaldo > wrote: >> Well I have written true? and false? methods in the past. Forgetting >> the best implementation at the moment I use it because I find things >> like: >> >> if a.nil?.false? >> .... >> end >> >> more readable than >> >> if not a.nil? >> .... >> end > unless a.nil? > .... > end if a.notnil? ... end :)