From: Rob Boellaard Date: 2008-06-15T02:41:36+09:00 Subject: Re: Knowing which subclass called a superclass class method > self will be A or B. > thanks for the quick reply Sebastian. I was trying to get the class name into a string. self.class.to_s gave me Class however, self.to_s indeed gave me S regards Rob -- Posted via http://www.ruby-forum.com/.