From: joel Date: 2001-03-25T14:40:02+09:00 Subject: [ruby-talk:13190] Re: self in blocks used with tk methods Dave Thomas wrote: > > joel writes: > > > How do the ruby tk methods arrange to have self refer to the object > > being created, e.g.: > > I wrote a brief article on it: > > http://www.pragmaticprogrammer.com/ruby/articles/insteval.html > > Dave Thanks! Nice web site, by the way. You say that no other threads can access the object during the instance_eval call within initialize. Is that because new calls initialize before putting the object in ObjectSpace? Is it really impossible to access the object, or is it just that no variable refers to it yet? -- Joel VanderWerf skeeler@sirius.com