mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
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:
parent
f03ba00f40
commit
ea222b0557
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
|
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
|
||||||
#define RUBY_VERSION_TEENY 3
|
#define RUBY_VERSION_TEENY 3
|
||||||
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
|
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
|
||||||
#define RUBY_PATCHLEVEL 154
|
#define RUBY_PATCHLEVEL 155
|
||||||
|
|
||||||
#define RUBY_RELEASE_YEAR 2021
|
#define RUBY_RELEASE_YEAR 2021
|
||||||
#define RUBY_RELEASE_MONTH 2
|
#define RUBY_RELEASE_MONTH 2
|
||||||
|
|
|
@ -1774,7 +1774,7 @@ rb_mod_private(int argc, VALUE *argv, VALUE module)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* ruby2_keywords(method_name, ...) -> self
|
* ruby2_keywords(method_name, ...) -> nil
|
||||||
*
|
*
|
||||||
* For the given method names, marks the method as passing keywords through
|
* For the given method names, marks the method as passing keywords through
|
||||||
* a normal argument splat. This should only be called on methods that
|
* a normal argument splat. This should only be called on methods that
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue