From: Arul hari Date: 2007-10-30T18:25:50+09:00 Subject: Re: what is the difference between two block? Sebastian Hungerecker wrote: > 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 Dear friend, How do you say single line blocks and multi-line blocks. We can use both the methods are multi-line blocks. could you say some example. I can't understand what you are saying? by vellingiri. -- Posted via http://www.ruby-forum.com/.