From: Brian Candler Date: 2010-08-18T18:44:36+09:00 Subject: Re: Ruby GC question (MRI, JRuby, etc) Chuck Remes wrote: > In the meantime, it looks like I need to save my Foo instances to an > array or something similar if I want to make sure that they do NOT get > collected until I'm ready. In any case, if you don't keep a reference to them somewhere, then you can never call any method on them, so the objects are obviously useless (which is why they are garbage-collected in the first place) -- Posted via http://www.ruby-forum.com/.