From: "Brian Schröder" Date: 2005-03-06T22:55:40+09:00 Subject: Re: ruby-dev summary 25741-25780 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. > > matz. > > I like that! regards, Brian -- Brian Schr�der http://ruby.brian-schroeder.de/