From: Simon Strandgaard Date: 2003-12-15T00:52:00+09:00 Subject: Re: inplace assignment On Sun, 14 Dec 2003 23:59:21 +0900, David A. Black wrote: >> >> class MyClass < MyClass > > Yikes. I *think* that resorting to that is a reasonably good > indication that you might want to look for a new program design :-) irb(main):001:0> class A < A irb(main):002:1> def test irb(main):003:2> super irb(main):004:2> end irb(main):005:1> end TypeError: undefined superclass `A' from (irb):1 irb(main):006:0> Special way of writing recursive methods/classes, which reminds me of modern c++ design's powerful ideas of recursive classes. Is it possible to make classes which inherit from themselves ? -- Simon Strandgaard