diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-19 21:46:37 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-19 21:46:37 +0000 |
commit | 6781722aa42aa8be0b71af9ffca57e5f99d99d19 (patch) | |
tree | 647132aebc3e5d2b1ced23678d917e7757042b7f | |
parent | b334883cc1543a21970574e8ad7d0d8f3879f8a9 (diff) |
merge revision(s) 57522: [Backport #13189]
doc: restore class documentation for Struct
* struct.c: restore class documentation for Struct
that disappeared with r46663.
Due to r46663, the class documentation for Struct disappeared.
(The revision inserted the definition of `InitVM_Struct` between
the rdoc and the definition of `Init_Struct`.)
The docs are rendered for 2.1: <https://docs.ruby-lang.org/en/2.1.0/Struct.html>,
but not for later versions, see: <https://docs.ruby-lang.org/en/2.2.0/Struct.html>
(Same for `ri` pages).
[ruby-core:79416] [Bug #13189]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@58031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | struct.c | 2 | ||||
-rw-r--r-- | version.h | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1155,6 +1155,8 @@ rb_struct_dig(int argc, VALUE *argv, VALUE self) } /* + * Document-class: Struct + * * A Struct is a convenient way to bundle a number of attributes together, * using accessor methods, without having to write an explicit class. * @@ -1,6 +1,6 @@ #define RUBY_VERSION "2.3.3" #define RUBY_RELEASE_DATE "2017-03-20" -#define RUBY_PATCHLEVEL 252 +#define RUBY_PATCHLEVEL 253 #define RUBY_RELEASE_YEAR 2017 #define RUBY_RELEASE_MONTH 3 |