From: Florian Gross Date: 2005-01-26T05:20:48+09:00 Subject: Re: Self and Ruby Comparisons Mathieu Bouchard wrote: > Actually, Perl has it better, because you can change the class of an > object, and you can change the list of superclasses of any class. Note that this can be mostly done with EvilRuby. You can change the direct superclass via Class#superclass= and the class via Object#class=. You can also insert new Classes into the inheritance chain with Class#inherit (which works by doing include(klass.as_module)). Note that there are still some limitations, sanity checks are a big one and there's still no way of removing items from the inheritance chain.