summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-12 07:54:43 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-12 07:54:43 +0000
commitf3e3ac78b881e2153f5b043115b475198f80dd8c (patch)
treea53c61c56b9540352fe4afd80ef875e6c4879deb
parent3eaded77007e1b8f6c256eca662b11639560c1e3 (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_4@57901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--struct.c2
-rw-r--r--version.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/struct.c b/struct.c
index cd6d05a552..6303436122 100644
--- a/struct.c
+++ b/struct.c
@@ -1158,6 +1158,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.
*
diff --git a/version.h b/version.h
index c8b3a5f570..7d3ac214eb 100644
--- a/version.h
+++ b/version.h
@@ -1,6 +1,6 @@
#define RUBY_VERSION "2.4.0"
#define RUBY_RELEASE_DATE "2017-03-12"
-#define RUBY_PATCHLEVEL 58
+#define RUBY_PATCHLEVEL 59
#define RUBY_RELEASE_YEAR 2017
#define RUBY_RELEASE_MONTH 3