Module: RIO::DBG
- Defined in:
- lib/rio/dbg/trace_states.rb
Class Method Summary collapse
Class Method Details
.trace_states(tf = true, &block) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/rio/dbg/trace_states.rb', line 4 def trace_states(tf=true,&block) old_trace_states = $trace_states begin $trace_states = tf yield ensure $trace_states = old_trace_states end end |