From fb5f4573c17adcaa85f23d486bca4e24ccb34c72 Mon Sep 17 00:00:00 2001 From: nagachika Date: Wed, 20 Dec 2017 14:54:56 +0000 Subject: [PATCH] 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 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@61362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 1 + version.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/string.c b/string.c index 540eb4e994..99acd4e99b 100644 --- a/string.c +++ b/string.c @@ -9686,6 +9686,7 @@ sym_inspect(VALUE sym) * Returns the name or string corresponding to sym. * * :fred.id2name #=> "fred" + * :ginger.to_s #=> "ginger" */ diff --git a/version.h b/version.h index e721ccbd83..eb8fecab9e 100644 --- a/version.h +++ b/version.h @@ -1,6 +1,6 @@ #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