summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-11 17:40:39 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-11 17:40:39 +0000
commit2ca56375faede8ec510a1c69f09c67195b642843 (patch)
treeaa059f32c312871f4141cf135d95e11c9752a3b3 /error.c
parent56804d8984138a88b916532e3eeb6952b34636da (diff)
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 <marcg.gauthier@gmail.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c4
1 files changed, 1 insertions, 3 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 <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