From: James Edward Gray II Date: 2006-06-09T02:51:17+09:00 Subject: Re: Why the lack of mixing-in support for Class methods? On Jun 8, 2006, at 12:45 PM, ara.t.howard@noaa.gov wrote: > On Fri, 9 Jun 2006, Yukihiro Matsumoto wrote: > >> Hi, >> >> In message "Re: Why the lack of mixing-in support for Class methods?" >> on Fri, 9 Jun 2006 00:49:19 +0900, "Alder Green" >> writes: >> >> |I see your and Dblack's point about the need for an #include that >> |won't inherit the class methods. And I agree that it's probably a >> good >> |idea to keep #include behaving as it does right now. So adding a >> |separate #inherit seems like a very good idea. >> >> I don't like the name #inherit. Since it is not a inheritance. > > i've suggested 'mixin' in the past > > module M > end > > class C > mixin M > end I like that. James Edward Gray II