From: 7stud -- Date: 2011-03-26T08:00:44+09:00 Subject: Re: Dynamic classes > My desired results: > > variable = Class.new > variable.class.name == 'variable' Are you sure about that? 'variable' is a class object--not what you would normally think of as an instance of a class. Because 'variable' is a class object, its class is Class, and the name of the generic Class class would not be 'variable'. -- Posted via http://www.ruby-forum.com/.