From: Kalman Noel Date: 2006-10-24T23:45:15+09:00 Subject: Re: '**' as hash splat? Ken Bloom: > On Mon, 23 Oct 2006 20:49:55 -0700, Trans wrote: >> a = [2,1] >> [3,*a] #=> [3,2,1] > The purpose of splat is to convert an array into a list of parameters to a > method. Since [] is a method, irb> method :[] NameError: undefined method `[]' for class `Object' Kalman