il Sat, 15 May 2004 07:47:03 GMT, Ryan Paul <segphault / sbcglobal.net> ha scritto:: >I'm trying to find a way to arbitrarily alter the class of an instance at >runtime. The documentation didn't appear to have any clues. > >Ultimately, I want to be able to do something like this: <snip> Can I dare to ask why you need this? I discovere stuff like runtime change of class and #become just with the Evil library, then found that this was possible in other languages. But I wonder what is this useful for ? I don't have a clue on what you're doing but could not you just extend the object at runtime with some mixins ?