merge revision(s) 49d3830f44: [Backport #17560]

Fix documentation for Module#ruby2_keywords

	It returns nil, not self.

	Fixes [Bug #17560]
	---
	 vm_method.c | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)
This commit is contained in:
NARUSE, Yui 2021-02-16 13:13:27 +09:00
parent ccba4665a8
commit 38f9c832e8
2 changed files with 3 additions and 3 deletions

View file

@ -2107,7 +2107,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