From: Alexandre Mutel Date: 2009-11-19T16:39:57+09:00 Subject: Re: How to overide "include" method? Gavin Kistner wrote: >> So from the top level, where i can overload this "include" method? > > Good question. I'm not sure where main fits into the method lookup > flow. (But if someone tells me, I'll add it to the diagram :) Seems that overriding like this is working : $x = method(:include) def self.include(mod) puts "Hi" $x.call mod end -- Posted via http://www.ruby-forum.com/.