From: Martin DeMello Date: 2003-08-09T20:31:57+09:00 Subject: Re: Ruby and OOP-design (question of an old "procedural person" ;) Kent Dahl wrote: > > That was my gut reaction at first but: > $ ruby1.8 -v -e "p( -5.nonzero?, 5.nonzero?, 0.nonzero? )" > ruby 1.8.0 (2003-08-04) [i686-linux] > -5 > 5 > nil *blink* Okay, I'm officially Surprised. Seriously, I don't see this as a good thing - ? methods ought to be strictly boolean IMO, and not rely on the 'value' of true. Otherwise, some of their self-documenting nature is lost. martin