From 6fbf4e22c83b4504d2d9a4a42216e4306a4e7e38 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Mon, 22 Apr 2019 23:10:10 +0900 Subject: [PATCH] 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 --- proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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