From: Robert Klemme Date: 2007-05-03T18:00:16+09:00 Subject: Re: It doesn't produce any output! On 03.05.2007 09:18, Yusuf Celik wrote: > Thanks Robert, > > But, without #{ObjectSpace._id2ref(id)} no problem. > You think this statement locks the object in memory. No, that's not the one. The mere fact that you define a proc / lambda in the presence of a local variable that references the object is keeping the object around. The proc is a closure and keeps a reference to a even if a goes out of scope (which it does not in your case). robert