ruby-changes:46047
From: usa <ko1@a...>
Date: Sun, 26 Mar 2017 03:19:24 +0900 (JST)
Subject: [ruby-changes:46047] usa:r58118 (ruby_2_2): merge revision(s) 57536: [Backport #13192]
usa 2017-03-26 03:19:17 +0900 (Sun, 26 Mar 2017) New Revision: 58118 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58118 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_2/ Modified files: branches/ruby_2_2/string.c branches/ruby_2_2/version.h Index: ruby_2_2/version.h =================================================================== --- ruby_2_2/version.h (revision 58117) +++ ruby_2_2/version.h (revision 58118) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_2/version.h#L1 #define RUBY_VERSION "2.2.7" #define RUBY_RELEASE_DATE "2017-03-26" -#define RUBY_PATCHLEVEL 450 +#define RUBY_PATCHLEVEL 451 #define RUBY_RELEASE_YEAR 2017 #define RUBY_RELEASE_MONTH 3 Index: ruby_2_2/string.c =================================================================== --- ruby_2_2/string.c (revision 58117) +++ ruby_2_2/string.c (revision 58118) @@ -8779,6 +8779,7 @@ sym_inspect(VALUE sym) https://github.com/ruby/ruby/blob/trunk/ruby_2_2/string.c#L8779 * Returns the name or string corresponding to <i>sym</i>. * * :fred.id2name #=> "fred" + * :ginger.to_s #=> "ginger" */ Property changes on: ruby_2_2 ___________________________________________________________________ Modified: svn:mergeinfo Merged /trunk:r57536 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/