From e14cba354ca031b48de0720fe0d96c04d9bb3439 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 18 Jun 2020 08:59:47 +0900 Subject: [PATCH] [DOC] argument to Exception#excepton is optional [ci skip] --- error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/error.c b/error.c index e3d9974555869a..af4dc23dde6413 100644 --- a/error.c +++ b/error.c @@ -1022,7 +1022,7 @@ exc_initialize(int argc, VALUE *argv, VALUE exc) * Document-method: exception * * call-seq: - * exc.exception(string) -> an_exception or exc + * exc.exception([string]) -> an_exception or exc * * With no argument, or if the argument is the same as the receiver, * return the receiver. Otherwise, create a new