ruby-changes:71546
From: Jeremy <ko1@a...>
Date: Wed, 30 Mar 2022 10:14:56 +0900 (JST)
Subject: [ruby-changes:71546] 750e18594b (master): Update comment for TracePoint#enable
https://git.ruby-lang.org/ruby.git/commit/?id=750e18594b From 750e18594b138465506aba9a1225b9897026a06a Mon Sep 17 00:00:00 2001 From: Jeremy Evans <code@j...> Date: Tue, 8 Feb 2022 08:50:57 -0800 Subject: Update comment for TracePoint#enable Co-authored-by: Benoit Daloze <eregontp@g...> --- trace_point.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trace_point.rb b/trace_point.rb index 2fa2de32db..d2496662a7 100644 --- a/trace_point.rb +++ b/trace_point.rb @@ -167,7 +167,7 @@ class TracePoint https://github.com/ruby/ruby/blob/trunk/trace_point.rb#L167 # trace.enable #=> true (previous state) # # trace is still enabled # - # If a block is given, the trace will only be enabled within the scope of the + # If a block is given, the trace will only be enabled during the block call. # block. If target and target_line are both nil, then target_thread will default # to the current thread if a block is given. # -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/