context diagram context definition delete temporary internet files execution videos context edit textwrangler language modules temporary files cleaner
Description - Temporary execution context with included modules
I needed to extend "self" with a module but only wanted the included methods to stick around "temporarily". After a lot of futile attempts with binding, callcc, EVAL, etc... I found it was as simple as "self.dup.instance_eval { ... } ".