U:RDoc::AnyMethod[iI" disable:ETI"TracePoint#disable;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"Deactivates the trace;To:RDoc::Markup::BlankLineo; ; [I"'Return true if trace was enabled. ;TI"(Return false if trace was disabled.;T@o:RDoc::Markup::Verbatim; [ I"#trace.enabled? #=> true ;TI"6trace.disable #=> false (previous status) ;TI"$trace.enabled? #=> false ;TI"$trace.disable #=> false ;T: @format0o; ; [I"QIf a block is given, the trace will only be disable within the scope of the ;TI" block.;T@o; ; [I"trace.enabled? ;TI"#=> true ;TI" ;TI"trace.disable do ;TI" trace.enabled? ;TI"( # only disabled for this block ;TI" end ;TI" ;TI"trace.enabled? ;TI"#=> true ;T; 0o; ; [I":Note: You cannot access event hooks within the block.;T@o; ; [I"#trace.disable { p tp.lineno } ;TI"*#=> RuntimeError: access from outside;T; 0: @fileI"vm_trace.c;T:0@omit_headings_from_table_of_contents_below0I"Rtrace.disable -> true or false trace.disable { block } -> obj ;T0[I"();T@0FI"TracePoint;TcRDoc::NormalClass00