ruby-changes:45332
From: nobu <ko1@a...>
Date: Mon, 23 Jan 2017 13:49:23 +0900 (JST)
Subject: [ruby-changes:45332] nobu:r57405 (trunk): error.c: fixed doc [ci skip]
nobu 2017-01-23 13:49:19 +0900 (Mon, 23 Jan 2017) New Revision: 57405 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57405 Log: error.c: fixed doc [ci skip] * error.c (exc_message): fixed doc regarding the presence of to_str. [Fix GH-1517] Author: Marc Gauthier <marcg.gauthier@g...> Modified files: trunk/error.c Index: error.c =================================================================== --- error.c (revision 57404) +++ error.c (revision 57405) @@ -894,9 +894,7 @@ exc_to_s(VALUE exc) https://github.com/ruby/ruby/blob/trunk/error.c#L894 * exception.message -> string * * Returns the result of invoking <code>exception.to_s</code>. - * 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/