summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2023-07-29 14:04:01 +0900
committernagachika <nagachika@ruby-lang.org>2023-07-29 14:04:01 +0900
commit19a3466a1460924058ca16a259601bb753293d43 (patch)
tree85e703a7403aaecd89a5d0dc8cbb5eeeb94deb4c
parent9f5c32ce85db830459768c588b82a6d07f5d22dc (diff)
merge revision(s) cada537040743cbe49aac6740816d648ca0d3fb: [Backport #19786]
[DOC] Fix call-seq for Data.define --- struct.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
-rw-r--r--struct.c4
-rw-r--r--version.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/struct.c b/struct.c
index 38c780dcda..f68c496728 100644
--- a/struct.c
+++ b/struct.c
@@ -1662,11 +1662,9 @@ rb_struct_dig(int argc, VALUE *argv, VALUE self)
/*
* call-seq:
- * define(name, *symbols) -> class
* define(*symbols) -> class
*
- * Defines a new \Data class. If the first argument is a string, the class
- * is stored in <tt>Data::<name></tt> constant.
+ * Defines a new \Data class.
*
* measure = Data.define(:amount, :unit)
* #=> #<Class:0x00007f70c6868498>
diff --git a/version.h b/version.h
index 40653ade2f..4e3a08c55a 100644
--- a/version.h
+++ b/version.h
@@ -11,7 +11,7 @@
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
#define RUBY_VERSION_TEENY 2
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
-#define RUBY_PATCHLEVEL 106
+#define RUBY_PATCHLEVEL 107
#include "ruby/version.h"
#include "ruby/internal/abi.h"