From: Robert Dober Date: 2008-03-31T02:20:59+09:00 Subject: Re: how-to unmixin a module On Sun, Mar 30, 2008 at 5:44 AM, David Beckwith wrote: > Hi, > > How do you undo the mixing in of a module? Is it possible? I guess > you would have to save the state (current methods) of the class before > the mixin, then iterate through the methods and class variables of the > module, remove or undefined each one, then re-mixin or re-define the > previous state of the class before the mixin. Does that sound right? Absolutely. > Is there an easier way? I do not think so. > > Thanks, > David :) > -- Cheers Robert > Posted via http://www.ruby-forum.com/. > > -- http://ruby-smalltalk.blogspot.com/ --- Whereof one cannot speak, thereof one must be silent. Ludwig Wittgenstein