From: Chad Perrin Date: 2011-04-05T04:06:41+09:00 Subject: Re: Simple array.each do |x| question --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 05, 2011 at 03:55:25AM +0900, Kyle X. wrote: > > Thank you Chris and 7stud, both of your explanations are great and are=20 > very helpful. The way you breakdown the examples seems much more clear= =20 > than in the documentation I find elsewhere which, not having a=20 > programing background, can be difficult to digest. Thank you both again= =20 > very much for your time and help. Did you mean s/Chris/Chad/, or was there some commentary from a Chris that I missed? If so, I'll go searching for it in archives to see if I can learn something from Chris. > > > > 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: >=20 > Unfortunately I am not coming from and programming language background=20 > but civil engineering, and for ph.d work in the field apparently you=20 > need to know how to program these days.... We all need to start somewhere. Luckily, Ruby makes it pretty easy to get started with object oriented programming. Best of luck. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk2aE9IACgkQ9mn/Pj01uKWD+QCeNbLzPFKg3xBRZhLn38/hEu6j XuUAn0PwbIIPfnaQVTQ2GNgwTWYO4De0 =RgSV -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--