mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix documentation for Module#ruby2_keywords
It returns nil, not self. Fixes [Bug #17560]
This commit is contained in:
parent
189bf0106f
commit
49d3830f44
1 changed files with 1 additions and 1 deletions
|
@ -2129,7 +2129,7 @@ rb_mod_private(int argc, VALUE *argv, VALUE module)
|
|||
|
||||
/*
|
||||
* call-seq:
|
||||
* ruby2_keywords(method_name, ...) -> self
|
||||
* ruby2_keywords(method_name, ...) -> nil
|
||||
*
|
||||
* For the given method names, marks the method as passing keywords through
|
||||
* a normal argument splat. This should only be called on methods that
|
||||
|
|
Loading…
Reference in a new issue