From: Matthieu TC Date: 2007-05-29T15:44:27+09:00 Subject: Re: $binding global var? --0-2006389960-1180421067=:70821 Content-Type: text/plain; charset=ascii Ah.. i see. thanks. ----- Original Message ---- From: Joel VanderWerf To: ruby-talk ML Sent: Tuesday, May 29, 2007 3:49:22 PM Subject: Re: $binding global var? Matthieu TC wrote: > Hello, > > Can anyone satisfy my curiosity and tell me what the global variable $binding is for? > > I though it might be a default binding for eval calls but my tests didnt concur. Irb uses $binding. But ruby does not: $ ruby -ve 'p global_variables.grep(/binding/)' ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-linux] [] -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407 --0-2006389960-1180421067=:70821--