From: Jamal Hansen Date: 2005-08-17T13:08:33+09:00 Subject: Re: Newbie question ------=_Part_238_29905333.1124251573095 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 8/16/05, len wrote: >=20 > Is there some difference in the code I'm not seeing or is one better > than the other: >=20 I think it is a matter of preference / readability though they do the same= =20 thing. If your block is longer than one line the do/end version is preferre= d=20 for readability. You can find this in the Poignant Guide < http://poignantguide.net/ruby> (which I recommend) in Chapter 3 under=20 Blocks.=20 Happy coding :) ------=_Part_238_29905333.1124251573095--