summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorVictor Shepelev <zverok.offline@gmail.com>2025-12-20 13:07:38 +0200
committerGitHub <noreply@github.com>2025-12-20 13:07:38 +0200
commitec4ca91319212ac9109ceac305f527c998da1738 (patch)
treed9c184b52df90028705b97e88636049316d81e6d /eval.c
parent77c3a9e447ec477be39e00072e1ce3348d0f4533 (diff)
Small documentation adjustments for new/updated features (#15634)
* Document Range#to_set * Update Thread#raise and Fiber#raise signatures and docs * Add reference to String#strip to character_selectors.rdoc * Update *nil docs when calling methods * Enhance Array#find and #rfind docs * Add a notice to Kernel#raise about cause:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index 0c80872bee..deadd5dd64 100644
--- a/eval.c
+++ b/eval.c
@@ -922,6 +922,9 @@ rb_f_raise(int argc, VALUE *argv)
* With argument +exception+ not given,
* argument +message+ and keyword argument +cause+ may be given,
* but argument +backtrace+ may not be given.
+ *
+ * +cause+ can not be given as an only argument.
+ *
*/
static VALUE