1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Update comment for TracePoint#enable

Co-authored-by: Benoit Daloze <eregontp@gmail.com>
This commit is contained in:
Jeremy Evans 2022-02-08 08:50:57 -08:00
parent 3c6a0033e3
commit 750e18594b
Notes: git 2022-03-30 10:15:03 +09:00

View file

@ -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.
#