Hi,

On Sun, 6 Mar 2005 22:45:55 +0900, Yukihiro Matsumoto
<matz / ruby-lang.org> wrote:
> Hi,
> 
> In message "Re: ruby-dev summary 25741-25780"
>     on Sun, 6 Mar 2005 20:56:08 +0900, Christian Neukirchen <chneukirchen / gmail.com> writes:
> 
> |Does this mean that  foo { |a| ... }, { |b| ... }  will work?
> 
> No.  foo {|a| ...} itself works as a method invocation with a block,
> so that above code will be a syntax error.  But
> 
>   foo({ |a| ... }, { |b| ... })
> 
> will do.

Cool. Ruby won't lose its closures king position to Perl 6 anymore... hehe. :-)

Nice.

Cheers,
Joao