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.