From: ptkwt@...1.aracnet.com (Phil Tomson) Date: 2002-04-28T04:21:01+09:00 Subject: Anyway to un-include a module? This is from a discussion that came up on comp.object.... Let's say you have a Person class that you instantiate. Now a Person can have different roles in life, let's say in this case there is the Student role and (after graduation) the Employee role. So, we could do: module Student def classes #return a list of classes the student is currently taking end end module Employee def employer #return the current employer end end class Person ... initialization and common stuff... end .... person = Person.new() person.extend Student ....do some student things... ....later, after graduation... person.extend Employee So at the end the person object will respond to both Student and Employee methods, but what if you want it to only respond to Employee methods now and not respond to Studend methods anymore? Is there something like... person.unextend Student (?) person.unmixin Student (?) Phil