2007/12/5, Witold Rugowski <rugowski / nhw.pl>:
> Hi!
> I wonder if it is possible to expand array as function arguments. Like
>
> def foo( a, b, c)
> end
>
> foo [1,2,3].to_args
>
>
> Is possible to do it?

foo *[1,2,3]

robert

-- 
use.inject do |as, often| as.you_can - without end