From: "David A. Black" Date: 2009-07-23T20:01:31+09:00 Subject: Re: Ruby "star".... what's it? Hi -- On Thu, 23 Jul 2009, 7stud -- wrote: > Depending on the context the * means: > > a) replace an array with its individual elements > b) gather individual elements into an array It's changed in 1.9. * on the left no longer has the same "un-array" semantics. >> a = [1]; a => [1] >> *a = [1]; a => [1] I'm kind of drawing a blank on why this change was made. David -- David A. Black / Ruby Power and Light, LLC Ruby/Rails consulting & training: http://www.rubypal.com Now available: The Well-Grounded Rubyist (http://manning.com/black2) Training! Intro to Ruby, with Black & Kastner, September 14-17 (More info: http://rubyurl.com/vmzN)