Hi,

* David A. Black <dblack / rubypal.com> [09.10.2007]:

> You can do:
> 
>   c.[](:text) { "default" }

ah, thanks, have not thought of that.

> but that's kind of ugly. I guess the whole point of c[] is to conceal
> the fact that it's a method call, which means that it then doesn't try
> to duplicate the full method call anatomy.

at least its better than having a #[] and a #get(..) member where one
forwards to the other one. Will this change in 1.9 or later?


Cheers,

Steph.