From: Pit Capitain Date: 2007-10-12T16:56:02+09:00 Subject: Re: Indexers and blocks? 2007/10/10, Stephan Mueller : > a) in practice a simple literal will not suffice > b) the result of the block should be assigned to the internal array at > the same step. (this was not part of my example code, sorry) and > Anyway, thanks for the interesting discussion. It's nice to see how > different people target the same problem with different solutions. Stephan, here's one more: c[:test] ||= ( ... ) Gruß, Pit