Arul hari wrote:
> What is the difference between do .. end block and { .. }.

Precedence. Other than that there is no difference, but it's convention to use 
{} for single-line blocks and do end for multi-line blocks.

HTH,
Sebastian
-- 
Jabber: sepp2k / jabber.org
ICQ: 205544826