From: Jan Svitok Date: 2006-08-30T23:52:03+09:00 Subject: Re: Overriding Class Methods With Modules On 8/30/06, John W. Long wrote: > Trans wrote: > > Okay a more presently practical answer. You can use a hack like: > > > > module TestExtension > > def self.included(base) shouldn't be "extended" ? > > base.module_eval do > > def my_method > > "overridden by TestExtension" > > end > > end > > end > > def another_method > > "another method" > > end > > end > > Mmm. That doesn't work either.