From: Yukihiro Matsumoto Date: 2006-06-11T01:28:02+09:00 Subject: Re: Why the lack of mixing-in support for Class methods? Hi, In message "Re: Why the lack of mixing-in support for Class methods?" on Fri, 9 Jun 2006 11:25:53 +0900, Yukihiro Matsumoto writes: || class Beanbag || self << Beanable || end | |I like this more than others, but I worry about that this is less |descriptive than other at the same time. For example, how one can |know whether "include" does not injects module methods, where "<<" |does. But I am still not sure if we need to provide the way to inject module methods to a class's singleton class at the same time instance methods are inherited to the class. Could somebody elaborate? It seems that having two separate modules (one to include for instance methods and another to extend for class methods) is more natural for me. matz.