Hi,

Am Donnerstag, 15. Feb 2007, 16:14:17 +0900 schrieb Martin DeMello:
> On 2/15/07, Bertram Scharpf <lists / bertram-scharpf.de> wrote:
> >The object-oriented approach is to redefine `to_s'.
> 
> Or
> 
> [...]
> puts [1, 2, 3, [4, 5, [6, 7], 8]].join
[1, 2, 3, [4, 5, [6, 7], 8]]

Ah, yes. It's the open and close delimiters ([]) what is
getting lost by the OP's proposal. I should have seen that
right away.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de