From: "Mark J. Reed" Date: 2003-10-02T22:46:31+09:00 Subject: Re: mixing in class methods On Thu, Oct 02, 2003 at 10:51:52AM +0200, Robert Klemme wrote: > This looks a bit complicated to me. IMHO you achieve the same with this > much shorter version_ > > module M > def class_method1 > p "class_method" > end > def class_method2 > p "class_method2" > end > end Yes, but what if you add a 'def instance_method1' to M? Class C doesn't get it via either approach you cite; it shows up as a class method instead. All of this circumlocution has been to allow a module to define BOTH class AND instance methods. Thanks to all. The :append_features solution was giving me trouble with modules that included other modules; :included may help there. -Mark