From: transfire@... Date: 2006-06-09T09:22:55+09:00 Subject: Re: Why the lack of mixing-in support for Class methods? transfire@gmail.com wrote: > Yukihiro Matsumoto wrote: > > I don't like the name #inherit. Since it is not a inheritance. > > I knew you were going to say that ;) I actually hesitated to suggest > it, but I haven't thought of anything better. But I would like to point > out an interesting (albiet currently illegal) equivalency: > > module Beanable > def self.pod > "oooooo" > end > end > > class Beanbag > extend (class << Beanable; self; end) > end Considering the above (which by the way should also have an 'include Beanable'), a notation that has some similarity and is available for use: class Beanbag self << Beanable end T.