From: "Jan E." Date: 2012-12-12T19:38:41+09:00 Subject: Re: How I can create/extract a variable/hash into the current binding in Ruby? As to the solution: If you want to keep this approach, I think you'll have no other choice than to also wrap the variable uses in an "eval" call. Because whenever the parser finds one of those dynamically created variables, it won't recognize it as a variable and throw a NameError. -- Posted via http://www.ruby-forum.com/.