From: Xavier Noria Date: 2012-12-03T07:43:31+09:00 Subject: Re: changing superclass I understand the first and second paragraphs separately, but not together :). Maybe you want Module#prepend which is going to be available in 2.0? On Sun, Dec 2, 2012 at 10:55 PM, Nokan Emiro wrote: > Hi metaprogrammers, > > Does someone know if it's possible to dynamically switch superclass, or > change the ancestor chain on an already existing class? (Or if it's not, > what are the main reasons for this "restriction", and are there any plans to > invent the possibility in 2.0, or so?) > > I've tried to override the superclass and ancestors methods on a class, > which > is, of course, possible, but this does not change the behaviour of the > objects > of that class. > > u. > >