From: gotoken@... (GOTO Kentaro) Date: 2001-03-07T00:00:13+09:00 Subject: [ruby-talk:12140] Re: Proc.arity() broken on Windows? In message "[ruby-talk:12137] Re: Proc.arity() broken on Windows?" on 01/03/06, Mike Bowler writes: >> testArity() { |a,| } > >This behaves the way I would have expected |a| to work. Very >interesting. FYI: lambda{|a|}.call expects zero or more arguments. lambda{|a,|}.call expects just one argument. lambda{||}.call expects zero arguments. -- Gotoken