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 Q. book.
One of the examples uses a very strange looking construct:
a,b,c,d = *0 .. 3
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