From: gwtmp01@... Date: 2005-10-30T05:00:50+09:00 Subject: Re: Malleable Instance Vars On Oct 29, 2005, at 2:57 PM, Trans wrote: > Are we ready for > > @x = 1 > > a = "x" > > @{a} #=> 1 Not me, but how about: container@[index] as sugar for: self.container@(index) and container@[index] = val as sugar for: self.container@=(index, val) As a degenerative case you could omit the 'container': def @[](index); end def @[]=(index); end Gary Wright