From cc9e11b164d4aaebf9bd580e2f835c8e5d4370c2 Mon Sep 17 00:00:00 2001 From: Marc Gauthier Date: Sat, 21 Jan 2017 22:47:25 +0100 Subject: [PATCH] error.c: fixed doc regarding the presence of to_str --- error.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/error.c b/error.c index 0ec0cf895aecae..8c5430a1343ac9 100644 --- a/error.c +++ b/error.c @@ -894,9 +894,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