On 03.11.2008 17:11, Stefano Crocco wrote:

> I think the closest you can get to the Java syntax is this:
> 
> def new o, *args
>   o.class == Class ? o.new(*args) : o
> end

Can someone please explain to me what we gain by doing this?

	robert