mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Adds a reference to TracePoint
to binding
docs
This change adds an explicit reference to `TracePoint` in the documentation for `binding`. Currently it only refers to the now deprecated `Kernel#set_trace_func`. This reference is left alone for continuity in the documentation. [Fix GH-2079] Co-authored-by: Brandon Weaver <baweaver@squareup.com>
This commit is contained in:
parent
8c689e216f
commit
6fbf4e22c8
1 changed files with 1 additions and 1 deletions
2
proc.c
2
proc.c
|
@ -3554,7 +3554,7 @@ Init_Proc(void)
|
|||
* possibly an iterator block that can be accessed in this context
|
||||
* are all retained. Binding objects can be created using
|
||||
* Kernel#binding, and are made available to the callback of
|
||||
* Kernel#set_trace_func.
|
||||
* Kernel#set_trace_func and instances of TracePoint.
|
||||
*
|
||||
* These binding objects can be passed as the second argument of the
|
||||
* Kernel#eval method, establishing an environment for the
|
||||
|
|
Loading…
Add table
Reference in a new issue