Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #5133
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!talisker.lacave.net!lacave.net!not-for-mail |
|---|---|
| From | Bala TS <bdeveloper01@yahoo.com> |
| Newsgroups | comp.lang.ruby |
| Subject | Re: Need help bringing select array lines together |
| Date | Thu, 26 May 2011 23:53:06 -0500 |
| Organization | Service de news de lacave.net |
| Lines | 23 |
| Message-ID | <51ffeed7a8250b9d2ebc7a00605e8591@ruby-forum.com> (permalink) |
| References | <f293c173-40a7-4d9d-b62b-9c00f079ac55@bl1g2000vbb.googlegroups.com> |
| NNTP-Posting-Host | bristol.highgroove.com |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | talisker.lacave.net 1306472010 68686 65.111.164.187 (27 May 2011 04:53:30 GMT) |
| X-Complaints-To | abuse@lacave.net |
| NNTP-Posting-Date | Fri, 27 May 2011 04:53:30 +0000 (UTC) |
| In-Reply-To | <f293c173-40a7-4d9d-b62b-9c00f079ac55@bl1g2000vbb.googlegroups.com> |
| X-Received-From | This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway |
| X-Mail-Count | 383848 |
| X-Ml-Name | ruby-talk |
| X-Rubymirror | Yes |
| X-Ruby-Talk | <51ffeed7a8250b9d2ebc7a00605e8591@ruby-forum.com> |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.ruby:5133 |
Show key headers only | View raw
I think this may be solution about that problem irb(main):027:0> a=" " => " " irb(main):028:0> x=["line 1","line2","line3"] => ["line 1", "line2", "line3"] irb(main):029:0> x.each do |r| irb(main):030:1* r=a+r irb(main):031:1* a=r+" " irb(main):032:1> end => ["line 1", "line2", "line3"] irb(main):033:0> puts a line 1 line2 line3 => nil irb(main):034:0> by bdeveloper01 -- Posted via http://www.ruby-forum.com/.
Back to comp.lang.ruby | Previous | Next — Previous in thread | Find similar | Unroll thread
Need help bringing select array lines together Paul <tester.paul@gmail.com> - 2011-05-26 09:26 -0700
Re: Need help bringing select array lines together Johnny Morrice <spoon@killersmurf.com> - 2011-05-26 12:43 -0500
Re: Need help bringing select array lines together Johnny Morrice <spoon@killersmurf.com> - 2011-05-26 12:54 -0500
Re: Need help bringing select array lines together Paul <tester.paul@gmail.com> - 2011-05-26 14:24 -0700
Re: Need help bringing select array lines together Johnny Morrice <spoon@killersmurf.com> - 2011-05-26 16:46 -0500
Re: Need help bringing select array lines together 7stud -- <bbxx789_05ss@yahoo.com> - 2011-05-26 17:14 -0500
Re: Need help bringing select array lines together Paul <tester.paul@gmail.com> - 2011-05-26 21:37 -0700
Re: Need help bringing select array lines together 7stud -- <bbxx789_05ss@yahoo.com> - 2011-05-26 17:31 -0500
Re: Need help bringing select array lines together 7stud -- <bbxx789_05ss@yahoo.com> - 2011-05-26 17:33 -0500
Re: Need help bringing select array lines together Gary Wright <gwtmp01@mac.com> - 2011-05-26 17:45 -0500
Re: Need help bringing select array lines together Johnny Morrice <spoon@killersmurf.com> - 2011-05-26 18:05 -0500
Re: Need help bringing select array lines together Bala TS <bdeveloper01@yahoo.com> - 2011-05-26 23:53 -0500
csiph-web