El Martes, 1 de Diciembre de 2009, Jan Friedrich escribi:
> Why not use a plain old Array?
> 
> lalalala = false
> if lalalala
>   params = [:user, 'alice', 1456]
> else
>   params = [:user, 0000]
> end
> 
> my_object.my_method(*params)

Yes! I missed that!

Thanks a lot.

-- 
Iaki Baz Castillo <ibc / aliax.net>