From: Jeff Mitchell Date: 2004-07-08T06:38:33+09:00 Subject: Re: Class#=== has interesting results --- Jeff Mitchell wrote: > or maybe > > class Module > def ===(obj) > obj.is_a?(self) or obj.ancestors.include?(self) > end > end Er, scratch this definition. obj.is_a?(self) is the same thing as obj.ancestors.include?(self) AFAIK. __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail