From: Joel VanderWerf Date: 2003-08-12T07:21:59+09:00 Subject: Re: newbie mixin questions Michael Garriss wrote: > Hi, > Just 2 questions: > > 1) How can I mixin a class method (not an instance method)? Since #include doesn't propagate class/module methods, you have to use #extend: module M def foo; end # NOT: def M.foo end class C extend M end C.foo