From: Robert Klemme Date: 2005-07-03T22:40:45+09:00 Subject: Re: Loading a file without cluttering the global namespace Andrew Walrond wrote: > On Sunday 03 July 2005 13:45, Robert Klemme wrote: >> Benjamin Hepp wrote: >>> I call Kernel#load with wrap = true, everything of the new file is >>> put into an anonymous Module, but every other file loaded in the new >>> file itself is put into the global namespace again. > > WRT below, see above. Caffeine topup required, perhaps? > > ;) Darn! I knew it had to be something trivial... :-) robert > >> >> I wonder why noone mentioned Kernel#load so far: >> http://www.ruby-doc.org/core/classes/Kernel.html#M001744 >> >> Did I overlook something? >> >> Kind regards >> >> robert