From: Mario Ruiz Date: 2008-11-19T19:40:13+09:00 Subject: Run a method in a Module Hi, I have two different modules that contain a few methods with the same name so I cannot include the modules in the code and I need to do something like: module Module1 def myMethod puts "hi" end def others end end module Module2 def myMethod puts "more hi" end end a=MyModule1.myMethod b=MyModule2.myMethod But it's not working, the error is: undefined method 'myMethod' any idea?? Thanks. -- Posted via http://www.ruby-forum.com/.