diff options
| author | nagachika <nagachika@ruby-lang.org> | 2023-07-29 14:04:01 +0900 |
|---|---|---|
| committer | nagachika <nagachika@ruby-lang.org> | 2023-07-29 14:04:01 +0900 |
| commit | 19a3466a1460924058ca16a259601bb753293d43 (patch) | |
| tree | 85e703a7403aaecd89a5d0dc8cbb5eeeb94deb4c | |
| parent | 9f5c32ce85db830459768c588b82a6d07f5d22dc (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.c | 4 | ||||
| -rw-r--r-- | version.h | 2 |
2 files changed, 2 insertions, 4 deletions
@@ -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> @@ -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" |
