From: Logan Capaldo Date: 2006-04-01T08:27:35+09:00 Subject: Re: How does ?A return the ASCII value of A ? --Apple-Mail-13-184209245 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Mar 31, 2006, at 5:28 PM, coachhilton@gmail.com wrote: > I can't quite figure out what function asterisk, ie, > *keys performs (leaving it out or executing *keys.zip(vals).flatten > results in a ruby error and I don't see an explanation of this use > of * > in the nutshell book.) Can one of you enlighten me? * is the unary unarray operator basically what it does delete the square brackets: f(*[1,2,3]) -> f(1,2,3) --Apple-Mail-13-184209245--