summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.c b/error.c
index 773d679e23..4c95fae484 100644
--- a/error.c
+++ b/error.c
@@ -806,7 +806,7 @@ rb_exc_set_backtrace(VALUE exc, VALUE bt)
/*
* call-seq:
- * exception.cause -> an_exception
+ * exception.cause -> an_exception or nil
*
* Returns the previous exception ($!) at the time this exception was raised.
* This is useful for wrapping exceptions and retaining the original exception