From: Adelle Hartley Date: 2005-03-24T20:15:49+09:00 Subject: Instead of templates Hi all, I have some methods that I want to add to several classes. eg. class A << MyBaseClass def self.DoMyThing(klass=self) ... end end class B << MyBaseClass def self.DoMyThing(klass=self) ... end end class C << B def self.DoMyThing(klass=self) ... end end If I were writing this in C++, I'd use templates. What's the Ruby Way? Adelle.