From: Yehuda Katz Date: 2008-04-24T06:15:50+09:00 Subject: Re: Any reason for having no module exclusion functionality in Ruby +1. Being able to unextend modules would make it possible to temporarily give methods to an object that were easily removable. I've had a number of use-cases for it in the past few months. -- Yehuda On Apr 23, 2008, at 3:50 PM, Pit Capitain wrote: > Hi all, I'm forwarding the following message for Yurii, who seems to > have problems joining ruby-core. The current implementation can be > found here: > > http://github.com/yrashk/rbmodexcl/tree/master > > Regards, > Pit > > ---------- Forwarded message ---------- > From: Yurii Rashkovskii > Date: 2008/4/22 > Subject: Any reason for having no module exclusion functionality in R > To: ruby-talk ML > > > Hello, > > May be I am missing something (since I am not MRI hacker), but why > there is no module exclusion functionality � i.e. you can extend > object with module, but can't reverse this operation? Any specific > reason for this decision? > > I've just sketched simplistic implementation for this kind of > functionality (http://pastie.org/185000) and really wondering why > there is no such stuff in MRI. > > Again, am I missing something? > > Yurii. > -- > Posted via http://www.ruby-forum.com/. >