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.
2.1m questions
2.1m answers
60 comments
57.0k users