From: "David A. Black" Date: 2005-12-02T00:15:30+09:00 Subject: Re: require! Hi -- On Fri, 2 Dec 2005, Brian Buckley wrote: >> Actually * looks for a to_a. > > Does calling amethod(*x) have the same meaning as calling > amethod(x.to_a)? If is it what is the benefit of using the (less > clear) first way? They're not the same. * is actually a unary unnary operator: def x(*args) p args end a = [1,2,3] x(a) # [[1,2,3,]] x(*a) # [1,2,3] David -- David A. Black dblack@wobblini.net