From: Andy Davis Date: 2011-08-05T02:42:30+09:00 Subject: multiple array declaration using one Object::new call Hello, I apologize if this has been covered, but I searched and could not find anything resembling this issue. I am fairly new to Ruby and I'm having a strange problem that may be my misunderstanding of how Ruby works. I am trying to declare multiple arrays on one line, like such: array1, array2, array = Array::new() What happens is that the arrays are all nil and [seemingly] immutable. When I declare each array individually, like such: array1 = Array::new() array2 = Array:new() array3 = Array::new() ...the arrays are not nil and mutable (as verified with irb). When I do this with a set of strings, like such: str1, str2, str3 = String::new() ...str1 is not nil, but str2 and str 3 are nil. Can someone shed some light on what I'm misunderstanding, and perhaps guide me to a good source on proper object declarations? Thanks! Andy -- Posted via http://www.ruby-forum.com/.