From: Stefan Matthias Aust Date: 2001-05-30T07:41:30+09:00 Subject: [ruby-talk:15973] Re: Q about TrueClass & FalseClass matz@zetabits.com (Yukihiro Matsumoto) wrote: >But I'm not sure how useful it is in the dynamic typed language like >Ruby where everything except `false' and `nil' is considered as true. Good point. You're right. I forgot about that. It seems that I've to explain what I want to achieve. I was experimenting to add generic functions and multi methods to Ruby. To make them useful, I need types. I wanted to use the classes as types (the natural way most languages go) but then stumbled across the problem, that there's no Boolean class and therefore no boolean type. However, making the type hierarchy independent from the class (and module) hierarchy is probably the better approach anyway. bye -- Stefan Matthias Aust \/ Truth Until Paradox