From: Brandon Jones Date: 2010-03-26T06:53:01+09:00 Subject: Re: Arrays Robert Klemme wrote: > Even shorter (6 chars if I'm not mistaken): > > a = %w{123 456 raju} > a.map!{|x|"91#{x}"} > > ;-) > > Kind regards > > robert oh yeah?!? well take this %w(123 456 raju).map{|x|"91#{x}"} not exactly the same, as there is no persistent variable, but it is a bit shorter -- Posted via http://www.ruby-forum.com/.