From 969d88fccc92756130846b02ad2a4f0e7965356e Mon Sep 17 00:00:00 2001 From: a_matsuda Date: Sat, 28 Oct 2017 01:05:17 +0000 Subject: [PATCH] Invalid TracePoint#disable example (without block) Patch by: Johan https://github.com/ruby/ruby/pull/1727 [Fix GH-1727] [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm_trace.c b/vm_trace.c index 193e569939..bedcb82ebb 100644 --- a/vm_trace.c +++ b/vm_trace.c @@ -1108,7 +1108,7 @@ tracepoint_enable_m(VALUE tpval) * Return false if trace was disabled. * * trace.enabled? #=> true - * trace.disable #=> false (previous status) + * trace.disable #=> true (previous status) * trace.enabled? #=> false * trace.disable #=> false *