Actions
Bug #8094
closed
Docs bug for Proc#arity
Bug #8094:
Docs bug for Proc#arity
Description
The docs for Proc#arity in proc.c claim that
proc { |x=0, y| }.arity # => 0
the result is really "1".
Actions
Added by Anonymous over 12 years ago. Updated over 12 years ago.
Description
The docs for Proc#arity in proc.c claim that
proc { |x=0, y| }.arity # => 0
the result is really "1".
This issue was solved with changeset r39758.
Jack, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.