From: Neil Laurance Date: 2006-08-13T05:36:06+09:00 Subject: Newbie at ruby - syntactic sugar for Range / Array Hi there, Was hoping someone could point me in the right direction. I'm currently learning a little ruby, and going through some of the puzzles from the Ruby Quiz book. One of the examples uses a very strange looking construct: [code] a,b,c,d = *0 .. 3 [/code] As far as I understand this, *0 .. 3 equates to (0..3).to_a ? I've been searching the online Ruby documentation, but couldn't find anwhere that describes this syntax. Could anyone point me to a description for this? Many thanks, toolkit -- Posted via http://www.ruby-forum.com/.