From: nobu.nokada@... Date: 2004-05-13T20:19:55+09:00 Subject: Re: RCR: Unique Object for Each source file Hi, At Tue, 11 May 2004 21:53:53 +0900, Robert Klemme wrote in [ruby-talk:99840]: > Why doesn't this do the same trick? > > SomeModule.instance_eval do > load 'thefile.ext' > end Loaded file is evaluated in its context, not in loader's context. Therefore, require/load can take effect globally even if it is in a class statement. -- Nobu Nakada