From: Sean Russell Date: 2001-12-19T23:46:47+09:00 Subject: [ruby-talk:28918] Re: array.to_h Markus Jais wrote: > why is there an "*" before "array"? > is does not work without it, but why is it so?? "*" explodes an array and turns it into a list. a = [ 1, 2, 3, 4 ] h = Hash[ *a ] is the same as h = Hash[ 1, 2, 3, 4 ] -- --- SER