X-FeedAbuse: http://nntpfeed.proxad.net/abuse.pl feeded by 88.191.16.109 Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!nospam.fr.eu.org!talisker.lacave.net!lacave.net!not-for-mail From: "Kyle X." Newsgroups: comp.lang.ruby Subject: Re: Simple array.each do |x| question Date: Mon, 4 Apr 2011 13:55:25 -0500 Organization: Service de news de lacave.net Lines: 16 Message-ID: References: <0d447c370de17e3a2a4ee56bde1114ac@ruby-forum.com> NNTP-Posting-Host: bristol.highgroove.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: talisker.lacave.net 1301943347 16341 65.111.164.187 (4 Apr 2011 18:55:47 GMT) X-Complaints-To: abuse@lacave.net NNTP-Posting-Date: Mon, 4 Apr 2011 18:55:47 +0000 (UTC) In-Reply-To: <0d447c370de17e3a2a4ee56bde1114ac@ruby-forum.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: 380936 X-Ml-Name: ruby-talk X-Rubymirror: Yes X-Ruby-Talk: Xref: x330-a1.tempe.blueboxinc.net comp.lang.ruby:2277 Thank you Chris and 7stud, both of your explanations are great and are very helpful. The way you breakdown the examples seems much more clear than in the documentation I find elsewhere which, not having a programing background, can be difficult to digest. Thank you both again very much for your time and help. > And if your coming from perl, or likewise hate typing quotes and commas > for arrays of strings, the above code can be written like this: Unfortunately I am not coming from and programming language background but civil engineering, and for ph.d work in the field apparently you need to know how to program these days.... -- Posted via http://www.ruby-forum.com/.