From: Love U Ruby Date: 2013-04-02T03:41:12+09:00 Subject: Re: Recursion with Hash tamouse mailing lists wrote in post #1103993: > On Mon, Apr 1, 2013 at 12:56 PM, Love U Ruby > wrote: >> I didn't make the recursion properly. Now I made it proper,but thanks >> for your interest. :) > > the output of that new version looks different from the output you > said you wanted... Yeah! finally changed it. Now need one help. >> [1,2][-1] = 44 => 44 The above is fine. But I am looking for a direct function which will do such update on the specified index of any array and will return the whole modified array. Is it possible? any inbuilt function there? -- Posted via http://www.ruby-forum.com/.