ruby-changes:48384
From: a_matsuda <ko1@a...>
Date: Sat, 28 Oct 2017 10:05:30 +0900 (JST)
Subject: [ruby-changes:48384] a_matsuda:r60498 (trunk): Invalid TracePoint#disable example (without block)
a_matsuda 2017-10-28 10:05:17 +0900 (Sat, 28 Oct 2017) New Revision: 60498 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60498 Log: Invalid TracePoint#disable example (without block) Patch by: Johan <djo.went@h...> https://github.com/ruby/ruby/pull/1727 [Fix GH-1727] [ci skip] Modified files: trunk/vm_trace.c Index: vm_trace.c =================================================================== --- vm_trace.c (revision 60497) +++ vm_trace.c (revision 60498) @@ -1108,7 +1108,7 @@ tracepoint_enable_m(VALUE tpval) https://github.com/ruby/ruby/blob/trunk/vm_trace.c#L1108 * 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 * -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/