From: matz@... (Yukihiro Matsumoto) Date: 2003-02-20T02:25:30+09:00 Subject: Re: How to test for existence of instance variable? Hi, In message "Re: How to test for existence of instance variable?" on 03/02/20, Brian Candler writes: |So more general question, what is the recommended way to generate a class |with a dynamic name? I really want to avoid the string version of eval: | | klassname="Foo" | eval "class #{klassname} ... " Foo = Class.new(super) { def foo ... end ... } matz. p.s. Hey, we need no English, just Ruby to talk with.