File: C:/Ruby27-x64/share/ri/2.7.0/system/TracePoint/disable-i.ri
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::BlankLine o;
; [I"'Return true if trace was enabled. ;TI"(Return false if trace was disabled.;T@o:RDoc::Markup::Verbatim; [ I""trace.enabled? #=> true
;TI"4trace.disable #=> true (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"trace_point.rb;T:0@omit_headings_from_table_of_contents_below0I"Qtrace.disable -> true or false
trace.disable { block } -> obj
;T0[ I"();T@0FI"TracePoint;TcRDoc::NormalClass00