From: Gaspard Bucher Date: 2009-09-14T03:32:57+09:00 Subject: Re: module to overwrite method defined via define_method 7stud -- wrote: > class A > def foo > puts "foo from class A" > end > > def initialize > class << self > include Redef > end > end > > end Thanks for the note 7stud. I think you can also write the above example as: class A def foo puts "foo from A" end def initialize extend Redef end end -- Posted via http://www.ruby-forum.com/.