diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-23 04:49:19 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-23 04:49:19 +0000 |
commit | 291419aa7b94291f27ba021068032f6ccdb03901 (patch) | |
tree | d73087cfa316e31176f227490fe545ebe6686dc6 /error.c | |
parent | 794bbf841e3fc9ee82847171f4e9e8fc9c972f7e (diff) | |
download | ruby-291419aa7b94291f27ba021068032f6ccdb03901.tar.gz |
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/trunk@57405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -894,9 +894,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 |