From: Austin Ziegler Date: 2003-07-15T06:17:46+09:00 Subject: Re: Booleans On Tue, 15 Jul 2003 05:34:02 +0900, Mark J. Reed wrote: >�I would also be happy if the test for falseness was less simplistic >�than "false is false, nil is false, everything else is true". �I am >�constantly being bitten by the fact that 0 is true. If you *know* that you will be getting a Fixnum in response, you can use Fixnum#nonzero? and Fixnum#zero? to get the tests that you're after. -austin -- austin ziegler * austin@halostatue.ca * Toronto, ON, Canada software designer * pragmatic programmer * 2003.07.14 * 17:15:07