From: georgesawyer Date: 2005-01-08T12:11:27+09:00 Subject: Re: List assignment syntax Good! Not as subtle, but just in case it helps: :-) =>a = [2, [3, 5], 8] # Given. [2, [3, 5], 8] =>x, y = [0,2].collect {|i| a[i]} [2, 8] =>a.flatten [2, 3, 5, 8]