From: Hagbard Celine Date: 2010-06-17T23:46:47+09:00 Subject: Re: Loading a module without polluting my namespace Rein Henrichs wrote: > Properly written Rubby libraries namespace their classes and modules. > If you own the code you're requiring, fix it. If not, find an > alternative to the code in question (which I find suspect based on this > lack of namespacing) or perhaps you may find some luck with Kernel#load. I happen to be in control of the loaded modules but I think you didn't understand my problem correctly. If I use namespace guards (what I actually do at the moment) the loaded modules remain in existence and pollute my namespace. So, namespace guards don't really help me. @Joel: The `Script' library seems to fit my needs quite perfectly. Thank you for the hint. -- Posted via http://www.ruby-forum.com/.