File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -134,8 +134,8 @@ def write_nonblock(buf, exception: true)
134
134
135
135
class TracePoint
136
136
# call-seq:
137
- # trace.enable(target: nil, target_line: nil) -> true or false
138
- # trace.enable(target: nil, target_line: nil) { block } -> obj
137
+ # trace.enable(target: nil, target_line: nil, target_thread: nil ) -> true or false
138
+ # trace.enable(target: nil, target_line: nil, target_thread: nil ) { block } -> obj
139
139
#
140
140
# Activates the trace.
141
141
#
@@ -163,9 +163,10 @@ class TracePoint
163
163
# trace.enabled?
164
164
# #=> false
165
165
#
166
- # <i>target</i> and <i>target_line</i> parameters are used to limit tracing
167
- # only to specified code objects. <i>target</i> should be a code object for
168
- # which RubyVM::InstructionSequence.of will return an instruction sequence.
166
+ # +target+, +target_line+ and +target_thread+ parameters are used to
167
+ # limit tracing only to specified code objects. +target+ should be a
168
+ # code object for which RubyVM::InstructionSequence.of will return
169
+ # an instruction sequence.
169
170
#
170
171
# t = TracePoint.new(:line) { |tp| p tp }
171
172
#
You can’t perform that action at this time.
0 commit comments