From: Florian Gross Date: 2005-02-13T02:00:05+09:00 Subject: Re: strong ref from weak ref? Navindra Umanee wrote: > I would like to have a lookup table with WeakRefs to various > structures so that they can be GC'ed if Ruby is low on space. > > However, when I look up a structure, I want to get a strong ref from > the WeakRef so that I don't have to worry about it being collected > while being used. I think WeakRef#__getobj__ will do what you want.