diff options
author | Jeremy Evans <[email protected]> | 2022-02-08 08:50:57 -0800 |
---|---|---|
committer | Jeremy Evans <[email protected]> | 2022-03-29 18:14:33 -0700 |
commit | 750e18594b138465506aba9a1225b9897026a06a (patch) | |
tree | c07ed2ccb45ba90bf857acd40bc87c961c6cc385 /trace_point.rb | |
parent | 3c6a0033e3dc7da2898232a2efc7367ae6fc536a (diff) |
Update comment for TracePoint#enable
Co-authored-by: Benoit Daloze <[email protected]>
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5359
Diffstat (limited to 'trace_point.rb')
-rw-r--r-- | trace_point.rb | 2 |
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. # |