зеркало из https://github.com/github/ruby.git
Update comment for TracePoint#enable
Co-authored-by: Benoit Daloze <eregontp@gmail.com>
This commit is contained in:
Родитель
3c6a0033e3
Коммит
750e18594b
|
@ -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.
|
||||||
#
|
#
|
||||||
|
|
Загрузка…
Ссылка в новой задаче