From a447563cf899f2a33511c12735160a8bbd0efecd Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 18 Jun 2020 09:00:34 +0900 Subject: [PATCH] [DOC] Added Exception.exception to Exception.new [ci skip] --- error.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/error.c b/error.c index af4dc23dde..fb8602350b 100644 --- a/error.c +++ b/error.c @@ -1003,7 +1003,8 @@ exc_init(VALUE exc, VALUE mesg) /* * call-seq: - * Exception.new(msg = nil) -> exception + * Exception.new(msg = nil) -> exception + * Exception.exception(msg = nil) -> exception * * Construct a new Exception object, optionally passing in * a message.