ruby-changes:49247
From: nagachika <ko1@a...>
Date: Wed, 20 Dec 2017 23:55:01 +0900 (JST)
Subject: [ruby-changes:49247] nagachika:r61362 (ruby_2_4): merge revision(s) 57536: [Backport #13192]
nagachika 2017-12-20 23:54:56 +0900 (Wed, 20 Dec 2017) New Revision: 61362 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61362 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_4/ Modified files: branches/ruby_2_4/string.c branches/ruby_2_4/version.h Index: ruby_2_4/version.h =================================================================== --- ruby_2_4/version.h (revision 61361) +++ ruby_2_4/version.h (revision 61362) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_4/version.h#L1 #define RUBY_VERSION "2.4.4" #define RUBY_RELEASE_DATE "2017-12-20" -#define RUBY_PATCHLEVEL 209 +#define RUBY_PATCHLEVEL 210 #define RUBY_RELEASE_YEAR 2017 #define RUBY_RELEASE_MONTH 12 Index: ruby_2_4/string.c =================================================================== --- ruby_2_4/string.c (revision 61361) +++ ruby_2_4/string.c (revision 61362) @@ -9686,6 +9686,7 @@ sym_inspect(VALUE sym) https://github.com/ruby/ruby/blob/trunk/ruby_2_4/string.c#L9686 * Returns the name or string corresponding to <i>sym</i>. * * :fred.id2name #=> "fred" + * :ginger.to_s #=> "ginger" */ Index: ruby_2_4 =================================================================== --- ruby_2_4 (revision 61361) +++ ruby_2_4 (revision 61362) Property changes on: ruby_2_4 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /trunk:r57536 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/