AFAIK, both of them do the same thing. you're just changing the block
delimiters.

2005/8/17, len <lsumnler / gmail.com>:
> Is there some difference in the code I'm not seeing or is one better
> than the other:
> 
> languages = ['English', 'German', 'Ruby']
> 
> languages.each do |lang|
>  puts 'I love ' + lang + '!'
>  puts 'Don\'t you?'
> end
> 
> languages.each { |lang|
>        puts 'I love ' + lang + '!'
>        puts "Don't you?"}
> 
> Len Sumnler
> 
> 
> 


-- 
BlueSteel | | Merkoth