From: "marcandre (Marc-Andre Lafortune)" Date: 2013-12-26T06:33:58+09:00 Subject: [ruby-core:59314] [ruby-trunk - Bug #9299][Open] Required keyowrd arguments and arity Issue #9299 has been reported by marcandre (Marc-Andre Lafortune). ---------------------------------------- Bug #9299: Required keyowrd arguments and arity https://bugs.ruby-lang.org/issues/9299 Author: marcandre (Marc-Andre Lafortune) Status: Open Priority: Normal Assignee: marcandre (Marc-Andre Lafortune) Category: core Target version: ruby -v: 2.1.0 Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN 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/