From: nobu.nokada@... Date: 2004-04-21T19:13:13+09:00 Subject: Re: binding - how to get current script? Hi, At Wed, 21 Apr 2004 18:44:12 +0900, Szymon Drejewicz wrote in [ruby-talk:97808]: > but I don't know how to bind eval to current script "space" so I get the > error: > > test.rb:3: undefined local variable or method `name' for main A local variable created in eval is only visible in eval. eval("name = 'Alice'") puts eval("name") -- Nobu Nakada