From: Joao Pedrosa Date: 2005-03-07T04:06:34+09:00 Subject: Re: ruby-dev summary 25741-25780 Hi, On Sun, 6 Mar 2005 22:45:55 +0900, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: ruby-dev summary 25741-25780" > on Sun, 6 Mar 2005 20:56:08 +0900, Christian Neukirchen 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