From: Thomas Date: 2005-06-07T16:21:17+09:00 Subject: Re: How to call a class method when (i.e. in the moment of) inheriting from a class/defining a descendant? > class A > class << self > def setup > puts "<#{ self }> invoking setup..." > end > def inherited klass > klass.setup > end > end > end > > class B < A > end Thanks for this reference to "inherited" -- I didn't know about this method and its purpose. As so often with ruby, the solution is somehow self-evident/explanatory in retrospect. Regards, Thomas.