Skip to content

Commit

Permalink
[DOC] Fix link to untrace_var from trace_var
Browse files Browse the repository at this point in the history
  • Loading branch information
peterzhu2118 committed Dec 31, 2023
1 parent 55a8186 commit 0d2ca33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eval.c
Expand Up @@ -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"
Expand Down

0 comments on commit 0d2ca33

Please sign in to comment.