I have a class defined using theClass.class_eval and Object.const_set(className, theClass). Is there any way to remove the definition of this class? During testing I need to load different versions of the same class.
A:
I see that doing Object.send(:remove_const, className) prevent to reload the same class..
how to reload?
tapioco123
2010-08-06 14:22:23