trace.enable â true or falsetrace.enable { block } â obj
Instance Public methods
Activates the trace
Return true if trace was enabled. Return false if trace was disabled.
trace.enabled? #=> false
trace.enable #=> false (previous state)
# trace is enabled
trace.enabled? #=> true
trace.enable #=> true (previous state)
# trace is still enabled
If a block is given, the trace will only be enabled within the scope of