Brian Schröäer <ruby.brian / gmail.com> writes:

> 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.
>> 
>
> I like that!

It's fine with me.

What about  foo { |a| ... } { |b| ... }  ? }:-)

> regards,
>
> Brian
-- 
Christian Neukirchen  <chneukirchen / gmail.com>  http://chneukirchen.org