From: 7stud -- Date: 2009-09-14T03:35:33+09:00 Subject: Re: module to overwrite method defined via define_method Gaspard Bucher wrote: > > 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 > Yes. I thought it might be clearer the other way. -- Posted via http://www.ruby-forum.com/.