From: Mateusz Tybura Date: 2008-03-20T21:52:25+09:00 Subject: Re: how to get inherited class names ? ------=_Part_846_14339780.1206017555551 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline It's no that what you want but maybe it will help you: a.class #=> return class a.class.superclass #=>return superclass of class. Example: class A def a "a" end end class B < A def b "b" end end beta = B.new b.class.superclass #=> A 2008/3/20, Pokkai Dokkai : > > how to get all inherited class names ? > > -- > Posted via http://www.ruby-forum.com/. > > ------=_Part_846_14339780.1206017555551--