From: Sean O'Dell Date: 2004-05-29T02:32:54+09:00 Subject: Re: Calling global method On Thursday 27 May 2004 22:52, Bill Kelly wrote: > > Not super pretty, but I'm currently using: > > def somemodule::somemethod > Kernel.instance_eval { test() } > end That's pretty ugly. I figured it would come down to having to do something icky like this. Bah. There really should be a module called global, or perhaps an object named global, that keeps all the global variables and methods. That way you could just call global.method. There should also be syntax sugar to allow you to say ::method. Sean O'Dell