2007/10/10, Stephan Mueller <d454d / web.de>:
> 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