From: Raffaele Tesi Date: 2008-02-01T20:04:25+09:00 Subject: Re: how to get the name of parent object inside child object i don't know exactly what you mean, but... Given object x try: puts x.class.superclass -- Posted via http://www.ruby-forum.com/.