First page Back Continue Last page Overview Text


Let's say you have an object that you want to marshal. However, someone has defined a method on that object, which creates a singleton class for the object. Marshal will refuse to marshal the object.

Evilr comes with a method called remove_singleton_class that can remove the object's singleton class, allowing you to marshal the object.