diff options
author | nagachika <nagachika@ruby-lang.org> | 2021-02-11 14:13:56 +0900 |
---|---|---|
committer | nagachika <nagachika@ruby-lang.org> | 2021-02-11 14:13:56 +0900 |
commit | ea222b05571741f36b59f615c2e83b3adafbd398 (patch) | |
tree | 60458d9c0cbec203a48a2180a84dfd2a259d3ab7 /vm_method.c | |
parent | f03ba00f40e7c964efcfffc7a761074800ecc1a4 (diff) |
merge revision(s) 49d3830f44031174ad450a0ea1cdcdf0eabf9d0e: [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(-)
Diffstat (limited to 'vm_method.c')
-rw-r--r-- | vm_method.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c index 4504468789..779ef460a4 100644 --- a/vm_method.c +++ b/vm_method.c @@ -1774,7 +1774,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 |