From: Hans Mackowiak Date: 2011-09-28T23:27:59+09:00 Subject: Re: Get all classes from a list of files sorry but why did you want to use eval? eval is allways the badest possible code use Object.const_get(classname).new or if the classname include "::" do this classname.split("::").inject(Object,:const_get).new -- Posted via http://www.ruby-forum.com/.