* Robert Dober <robert.dober / gmail.com> [09.10.2007]:

> I agree with you that this is unfortunate for the general case.
> In your case however -- unless it was only an example -- I would favor the
> 
> following idiom
> 
> c[:test] or "default"

nice! But in my case I will need the block because 

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)

Without these requirements I like your idea best... :) 


Cheers,

Steph.