From: naruse@... Date: 2014-02-22T06:57:57+00:00 Subject: [ruby-core:60991] [Backport21 - Backport #9299] [Feedback] Required keyowrd arguments and arity Issue #9299 has been updated by Yui NARUSE. Status changed from Open to Feedback Assignee changed from Yui NARUSE to Marc-Andre Lafortune Like #8072, this is not a simple backport. Please get confirmation by matz ---------------------------------------- Backport #9299: Required keyowrd arguments and arity https://bugs.ruby-lang.org/issues/9299#change-45392 * Author: Marc-Andre Lafortune * Status: Feedback * Priority: Normal * Assignee: Marc-Andre Lafortune ---------------------------------------- While fixing #8072, I noticed another bug: a required keyword argument should add 1 to the arity: proc{|required:|}.arity # => 0, should be 1 -- http://bugs.ruby-lang.org/