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

ruby-changes:50007

From: usa <ko1@a...>
Date: Wed, 31 Jan 2018 19:58:27 +0900 (JST)
Subject: [ruby-changes:50007] usa:r62125 (ruby_2_3): merge revision(s) 57536: [Backport #13192]

usa	2018-01-31 19:58:21 +0900 (Wed, 31 Jan 2018)

  New Revision: 62125

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

  Log:
    merge revision(s) 57536: [Backport #13192]
    
    doc: Add example for Symbol#to_s
    
    * string.c: add example for Symbol#to_s.
    
    The docs for Symbol#to_s only include an example for
    Symbol#id2name, but not for #to_s which is an alias;
    the docs should include examples for both methods.
    
    From: Marcus Stollsteimer <sto.mar@w...>

  Modified directories:
    branches/ruby_2_3/
  Modified files:
    branches/ruby_2_3/ChangeLog
    branches/ruby_2_3/string.c
    branches/ruby_2_3/version.h
Index: ruby_2_3/version.h
===================================================================
--- ruby_2_3/version.h	(revision 62124)
+++ ruby_2_3/version.h	(revision 62125)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/version.h#L1
 #define RUBY_VERSION "2.3.7"
 #define RUBY_RELEASE_DATE "2018-01-31"
-#define RUBY_PATCHLEVEL 386
+#define RUBY_PATCHLEVEL 387
 
 #define RUBY_RELEASE_YEAR 2018
 #define RUBY_RELEASE_MONTH 1
Index: ruby_2_3/string.c
===================================================================
--- ruby_2_3/string.c	(revision 62124)
+++ ruby_2_3/string.c	(revision 62125)
@@ -9188,6 +9188,7 @@ sym_inspect(VALUE sym) https://github.com/ruby/ruby/blob/trunk/ruby_2_3/string.c#L9188
  *  Returns the name or string corresponding to <i>sym</i>.
  *
  *     :fred.id2name   #=> "fred"
+ *     :ginger.to_s    #=> "ginger"
  */
 
 
Index: ruby_2_3/ChangeLog
===================================================================
--- ruby_2_3/ChangeLog	(revision 62124)
+++ ruby_2_3/ChangeLog	(revision 62125)
@@ -1,3 +1,15 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/ChangeLog#L1
+Wed Jan 31 19:57:09 2018  Eric Wong  <normalperson@y...>
+
+	doc: Add example for Symbol#to_s
+
+	* string.c: add example for Symbol#to_s.
+
+	The docs for Symbol#to_s only include an example for
+	Symbol#id2name, but not for #to_s which is an alias;
+	the docs should include examples for both methods.
+
+	From: Marcus Stollsteimer <sto.mar@w...>
+
 Wed Jan 31 19:49:44 2018  Reiner Herrmann  <reiner@r...>
 
 	* lib/mkmf.rb (create_makefile): sort lists of source and object
Index: ruby_2_3
===================================================================
--- ruby_2_3	(revision 62124)
+++ ruby_2_3	(revision 62125)

Property changes on: ruby_2_3
___________________________________________________________________
Modified: svn:mergeinfo
## -0,0 +0,1 ##
   Merged /trunk:r57536

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

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