From: Robert Klemme Date: 2005-10-21T22:01:59+09:00 Subject: Re: define_class and get_class Mushtaq Ahmed wrote: > Trans wrote: >> A = Class.new { >> # ... >> } >> >> T. >> >> >> > Not the same thing. I want to decide the class name at runtime. It > could be A, B, C or whatever. cl = Class.new do def foo() "bar" end end Object.const_set("AnyName", cl) .... robert