2009/12/5 Jesús Gabriel y Galán <jgabrielygalan / gmail.com>:
> On Sat, Dec 5, 2009 at 9:22 AM, Ruby Newbee <rubynewbee / gmail.com> wrote:
>> 2009/12/5 Andrey Zaikin <zed.0xff / gmail.com>:
>>> irb(main):001:0> a=["a", "hello", "b", "world", "c", "welcome", "d",
>>> "baby"]
>>> => ["a", "hello", "b", "world", "c", "welcome", "d", "baby"]
>>> irb(main):002:0> Hash[*a]
>>
>> Thanks.
>> What's the "*" before "a" then?
>
> It's the splat operator. It's used to "unarray" an array into its
> individual items to pass them to a method:
>

Ah, I got it, thanks~