From: transfire@... Date: 2006-06-09T02:58:57+09:00 Subject: Re: Requiring a file into a different namespace Jacob Fugal wrote: > 1) Change Kernel#load to return the anonymous module when the wrap > parameter is true. Currently, the return value of Kernel#load is > always true (failure results in an exception), so there should be no > code relying on the current return value. > > 2) Since the wrap parameter can only be true or false right now, > change that parameter to accept a module. The behavior when that > parameter is false/nil/true is unchanged for backwards compatibility, > but if the parameter is a module, load the file into that module > instead of into a new anonymous module. > > How do these ideas sound to people? Sounds good. Although I think the most recent develpoment "trial" is #require_into. T.