summaryrefslogtreecommitdiff
path: root/trace_point.rb
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2022-02-08 08:50:57 -0800
committerJeremy Evans <code@jeremyevans.net>2022-03-29 18:14:33 -0700
commit750e18594b138465506aba9a1225b9897026a06a (patch)
treec07ed2ccb45ba90bf857acd40bc87c961c6cc385 /trace_point.rb
parent3c6a0033e3dc7da2898232a2efc7367ae6fc536a (diff)
downloadruby-750e18594b138465506aba9a1225b9897026a06a.tar.gz
Update comment for TracePoint#enable
Co-authored-by: Benoit Daloze <eregontp@gmail.com>
Diffstat (limited to 'trace_point.rb')
-rw-r--r--trace_point.rb2
1 files changed, 1 insertions, 1 deletions
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
# 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.
#