Hello,

Self modifying code is a well known technology. Has anyone done this in
Ruby? What I'm seeking for is examples of software that adds to
itself (methods and variables) in runtime.

I understand from reading the Ruby documentation that it is easy
to add a method programmatically to a running object instance, but
is it also possible to maintain changes (persistance) after system 
halts?

Thanks
Sten Kvamme