From: Austin Ziegler Date: 2005-05-07T21:33:11+09:00 Subject: Re: object reference handle (like perl's reference to scalar) On 5/7/05, Dave Burt wrote: [...] > Obviously an OpenStruct (or even an Array) could do the job, but > why not try a Ref? It's see-through! (Except for assignment, you > have to do ref.deref=) Of course, it's not much different from a > Struct.new(:deref). If _y were the only place this were an issue, I'd agree with you -- a Ref (perhaps even a WeakRef) might be better. But it's not -- and I can gain other efficiencies once I go through the development time again. (The table rendering code is a mess. The only reason it's still a mess is that the major refactoring broke it worse.) -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca