From: Michael Sung Date: 2012-06-14T18:02:43+09:00 Subject: Simple method & array question Hi, Sorry for the newbie question but how can I make a method which takes only an array as an argument and returns the same array as the output? For example, I tried: def repeat *arg repeated = *arg p repeated end repeat [10, 2, 2, 54] However, this returns: [[10, 2, 2, 54]] when I would really just like the same array repeated back: [10, 2, 2, 54] Thank you. -- Posted via http://www.ruby-forum.com/.