p = proc {}
p.arity -> -1

shouldn't that be returning 0?

btw p = proc { |*a| } gives me -1 like it should.

ruby 1.8.4 (2005-12-24) [i686-linux]

-- 
Posted via http://www.ruby-forum.com/.