From 2ca56375faede8ec510a1c69f09c67195b642843 Mon Sep 17 00:00:00 2001 From: naruse Date: Sat, 11 Mar 2017 17:40:39 +0000 Subject: [PATCH] merge revision(s) 57405: error.c: fixed doc [ci skip] * error.c (exc_message): fixed doc regarding the presence of to_str. [Fix GH-1517] Author: Marc Gauthier git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- error.c | 4 +--- version.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/error.c b/error.c index ae0f79180c..efcf278793 100644 --- a/error.c +++ b/error.c @@ -880,9 +880,7 @@ exc_to_s(VALUE exc) * exception.message -> string * * Returns the result of invoking exception.to_s. - * Normally this returns the exception's message or name. By - * supplying a to_str method, exceptions are agreeing to - * be used where Strings are expected. + * Normally this returns the exception's message or name. */ static VALUE diff --git a/version.h b/version.h index e58add1dc8..d6583b977d 100644 --- a/version.h +++ b/version.h @@ -1,6 +1,6 @@ #define RUBY_VERSION "2.4.0" #define RUBY_RELEASE_DATE "2017-03-12" -#define RUBY_PATCHLEVEL 32 +#define RUBY_PATCHLEVEL 33 #define RUBY_RELEASE_YEAR 2017 #define RUBY_RELEASE_MONTH 3