From: Kedar Mhaswade Date: 2011-01-13T10:48:44+09:00 Subject: simple name of a class? The name method of class Class returns the full name of a class (e.g. ::). Is there a way to get just the simple name? e.g. module CLI class Yes # ... end # ... end What method would return "Yes" (and not "CLI::Yes") when I have an instance of the Yes class (e.g. CLI::Yes.new.class.)? Thanks in advance. -- Posted via http://www.ruby-forum.com/.