From: Philip Amadeo Saeli Date: 2008-05-01T13:50:03+09:00 Subject: Re: Noob Q: ruby block scoping question (ruby TK) * Joel VanderWerf [2008-04-30 20:17]: > It's because of #instance_eval. The blocks you pass to Tk tend to get > treated like this: > > tkobject.instance_eval(&your_block) Thanks, Joel! You gave me just what I needed to begin to understand this. Looking thru ruby-talk, it seems that instance_eval has been the source of quite a few questions in similar regards! Phil -- Philip Amadeo Saeli SUSE Linux 10.1 psaeli@zorodyne.com