From: Hugh Sasse Staff Elec Eng Date: 2003-09-11T11:43:19+09:00 Subject: Re: What *are* variables? Which are nil now? On Thu, 11 Sep 2003, Gavin Sinclair wrote: > Variables are not objects; it's as simple as that. They are sticky > notes. You can get a list of local variables in any scope with > Kernel::local_variables. Then you can eval them to find out what they thanks, I missed that one. > are. > > You can get a list of variables in other scopes as well. I have a > marvellous proof for this, which this margin is too small to contain. I seem to be needing large margins for my errors, I'll send you one! :-) I'd like to know how to extract this info from Ruby. It might not have helped in my case though, but would be generally good to have. > > Gavin > Thank you, Hugh > >