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/.