From: Robert Klemme Date: 2009-06-23T02:20:11+09:00 Subject: Re: Some confusion on self and the like.... On 22.06.2009 18:46, David A. Black wrote: >> Moreover, how do I get the furthest-down-the-inheritance-chain name of >> the currently running instance? > > I'm not sure what you mean. The class of self? (Which would be > self.class.) It seems Alexander is asking for "self.class". Alex, you can even try "p self.class.ancestors" to see the full inheritance chain (including modules). Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/