From: "Scott M." Date: 2013-04-02T22:24:21+09:00 Subject: Re: Recursion with Hash Joel Pearson wrote in post #1104066: > In case Scott's answer isn't what you were looking for: To be honest, I hope it's not. I was just having a little fun. Love U Ruby wrote in post #1104063: > what's the magic here `;a`? The semicolon will end the previous statement. So my line could be written as: a = [1, 2, 3] a[-1] = 12 a If you let us know why you need to return the whole array, we might have more to add. -- Posted via http://www.ruby-forum.com/.