From 1d0ce1a349bcf836d547d618b346345ae5fca44d Mon Sep 17 00:00:00 2001 From: Ulysse Buonomo Date: Sat, 25 Sep 2021 17:28:48 +0200 Subject: [DOC] Fix `TracePoint.trace` format [ci skip] Signed-off-by: Ulysse Buonomo --- trace_point.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'trace_point.rb') diff --git a/trace_point.rb b/trace_point.rb index 4272448682..7c2fdd5256 100644 --- a/trace_point.rb +++ b/trace_point.rb @@ -118,13 +118,11 @@ class TracePoint Primitive.tracepoint_stat_s end - # Document-method: trace - # # call-seq: - # TracePoint.trace(*events) { |obj| block } -> obj + # TracePoint.trace(*events) { |obj| block } -> obj # - # A convenience method for TracePoint.new, that activates the trace - # automatically. + # A convenience method for TracePoint.new, that activates the trace + # automatically. # # trace = TracePoint.trace(:call) { |tp| [tp.lineno, tp.event] } # #=> # -- cgit v1.2.3