From: Rimantas Liubertas Date: 2007-12-05T21:56:50+09:00 Subject: Re: Expanding array as function arguments > 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? How about foo *[1, 2, 3] ? (Note the "*" -"splat"). -- Regards, Rimantas -- http://rimantas.com/