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
Родитель 3c6a0033e3
Коммит 750e18594b
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -167,7 +167,7 @@ class TracePoint
# trace.enable #=> true (previous state) # trace.enable #=> true (previous state)
# # trace is still enabled # # 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 # block. If target and target_line are both nil, then target_thread will default
# to the current thread if a block is given. # to the current thread if a block is given.
# #