From: Navindra Umanee Date: 2005-02-21T06:10:57+09:00 Subject: Re: destructive! operations Navindra Umanee wrote: > Often think it would be nice if "" and 0 were treated like nil. Such > functions could then return "". Heck, NilClass.to_s and NilClass.to_i > already return "" and 0 respectively. "false" too.. Incidentally I tried to make "", 0 and false respond positively to nil?. While they did, none of the boolean tests looked at nil? to make their decision. I guess that's the optimized part. Cheers, Navin.