From: matz@... (Yukihiro Matsumoto) Date: 2001-03-06T15:03:50+09:00 Subject: [ruby-talk:12094] Re: Another hook Hi, In message "[ruby-talk:12093] Another hook" on 01/03/06, Dave Thomas writes: |If we're in to hooks, there's another that might be useful: | | to_bool: | analogous to to_s, called whenever an object is used in a context | that requires a boolean value (this one came up on | #ruby-lang). Masochists could use this to emulate Perl And performance would be the excuse again. matz.