From: Love U Ruby Date: 2013-04-02T22:14:11+09:00 Subject: Re: Recursion with Hash Scott M. wrote in post #1104062: > Love U Ruby wrote in post #1104060: > How about: > > (a = [1, 2, 3])[-1] = 12; a > > ? Nice one! :) but couldn't get the logic: C:\>irb irb(main):001:0> (a = [1, 2, 3])[-1] = 12; a => [1, 2, 12] what's the magic here `;a`? -- Posted via http://www.ruby-forum.com/.