aboutsummaryrefslogtreecommitdiffstats
path: root/proc.c
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-04-22 23:10:10 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-04-22 23:11:32 +0900
commit6fbf4e22c83b4504d2d9a4a42216e4306a4e7e38 (patch)
treeb52da27a5035a9eacbdb3f6a962b21b4828ff6aa /proc.c
parent8c689e216fe749c9c7298c21a8114d6e680b015f (diff)
downloadruby-6fbf4e22c83b4504d2d9a4a42216e4306a4e7e38.tar.gz
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>
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc.c b/proc.c
index 32b75f7965..2f990f65e4 100644
--- a/proc.c
+++ b/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