Yukihiro Matsumoto wrote: > In message "Re: using a module at the toplevel doesn't work" > on Tue, 22 Aug 2006 22:20:05 +0900, "Trans" <transfire / gmail.com> writes: > > |And Mathew makes another good case. > > For his case, replace do_test as > > def self.do_test > self.test > end Almost. But that's sort of reverse the situation. Will we have to add 'self.' to every call b/c there's the chance someone will define a toplevel method when using our libs? I think the question stands: of what significant value come from having the toplevel add it's methods to Object? If we have to know these subtle tricks to avoid possible gotchas, don't you think it should be worth the effort? I don't see how it is. I don't think a good coder is even going to utilze the fact that toplevel methods embue all objects in the first place. T.