summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--error.c3
1 files changed, 2 insertions, 1 deletions
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.