From: Zach Dennis Date: 2004-12-10T09:06:53+09:00 Subject: Re: Overloading a module method? Dominik Werder wrote: > I found some things on the path to the solution that I wanted to share. > I'm not yet entirely happy with this code because I still have to watch > to not "load 'mymath.rb'" it twice, anyway.. I dont see why you have to do this. Unless I understand you wrong I do not get the problem. For example: module Math alias :sino :sin module_function :sino def sin( x ) sino( x ) end module_function :sin end def test1 include Math puts sin( 1 ) end def test2 include Math include Math puts sin( 2 ) end include Math puts sin( 3 ) puts Math::sin( 4 ) puts Math.sin( 5 ) test1 test2 ------ Zach