[前][次][番号順一覧][スレッド一覧]

ruby-changes:45960

From: nagachika <ko1@a...>
Date: Mon, 20 Mar 2017 06:46:41 +0900 (JST)
Subject: [ruby-changes:45960] nagachika:r58031 (ruby_2_3): merge revision(s) 57522: [Backport #13189]

nagachika	2017-03-20 06:46:37 +0900 (Mon, 20 Mar 2017)

  New Revision: 58031

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58031

  Log:
    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]

  Modified directories:
    branches/ruby_2_3/
  Modified files:
    branches/ruby_2_3/struct.c
    branches/ruby_2_3/version.h
Index: ruby_2_3/version.h
===================================================================
--- ruby_2_3/version.h	(revision 58030)
+++ ruby_2_3/version.h	(revision 58031)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/version.h#L1
 #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
Index: ruby_2_3/struct.c
===================================================================
--- ruby_2_3/struct.c	(revision 58030)
+++ ruby_2_3/struct.c	(revision 58031)
@@ -1155,6 +1155,8 @@ rb_struct_dig(int argc, VALUE *argv, VAL https://github.com/ruby/ruby/blob/trunk/ruby_2_3/struct.c#L1155
 }
 
 /*
+ *  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.
  *

Property changes on: ruby_2_3
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r57522


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]