From: Keith Carter Date: 2008-01-24T12:39:04+09:00 Subject: Re: Help with eval ara.t.howard wrote: > > if you post what you are trying to accomplish perhaps someone can > help - no pattern that relies on eval creating vars in the local > scope is going to pan out too well without a little dsl or some > hackery - eval just won't suffice. > I'm not trying to accomplish anything too fancy, and I was able to skirt around the problem by declaring my variables outside of the eval block. But now, my interest is piqued. What is dsl? What if I wanted to declare a variable with a dynamic name using an eval block? (And I wanted to use it outside of the eval block) -- Posted via http://www.ruby-forum.com/.