From: Austin Ziegler Date: 2003-12-13T03:15:57+09:00 Subject: Re: types? casting and bools On Sat, 13 Dec 2003 01:56:18 +0900, KONTRA Gergely wrote: > Why ruby handle booleans so liberally? It doesn't. Ruby treats all values excepting false and nil as true. It sounds like you're wanting 0 to be treated as false. -austin -- austin ziegler * austin@halostatue.ca * Toronto, ON, Canada software designer * pragmatic programmer * 2003.12.12 * 13.13.22