summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2023-12-30 22:13:24 -0500
committerPeter Zhu <[email protected]>2023-12-30 22:13:24 -0500
commit0d2ca334047f11a92215025b43a1f9dcdd9276fb (patch)
treec036a53cbe3d34f3825f054392b2904e7a1abb58
parent55a81863cd369576717c5660641376434a05484f (diff)
[DOC] Fix link to untrace_var from trace_var
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 15b6567aff..8a636cc533 100644
--- a/eval.c
+++ b/eval.c
@@ -2022,7 +2022,7 @@ f_global_variables(VALUE _)
* +Proc+ object) or block is executed whenever the variable
* is assigned. The block or +Proc+ object receives the
* variable's new value as a parameter. Also see
- * Kernel::untrace_var.
+ * #untrace_var.
*
* trace_var :$_, proc {|v| puts "$_ is now '#{v}'" }
* $_ = "hello"