From: matz@... (Yukihiro Matsumoto) Date: 2000-11-14T09:24:29+09:00 Subject: [ruby-talk:6329] Re: arity Hi, In message "[ruby-talk:6324] arity" on 00/11/14, jweirich@one.net writes: |I discovered the "arity" function in the documentation. What puzzles |me is the non-intuitive values returned by arity. Why does a block |with one argument return -2, but a block with two arguments return 2? Try the REAL one argumented closure. proc{|a,|...}.arity The one you've tried was EMULATED one argumented closure. matz.