If I have a class instance, containing several included modules, can I dynamically un-include a specific module (In order to replace it)?
Thanks.
No. You can't un-include a mixin in the Ruby Language. On some Ruby Implementations you can do it by writing an implementation specific extension in C or Java (or even Ruby in the case of Rubinius), though.
1.4m articles
1.4m replys
5 comments
57.0k users