method
use_tracer=
v1_8_7_330 -
Show latest stable
- Class:
IRB::Context
use_tracer=(opt)public
No documentation available.
# File lib/irb/ext/tracer.rb, line 30
def use_tracer=(opt)
if opt
Tracer.set_get_line_procs(@irb_path) {
|line_no, *rests|
@io.line(line_no)
}
elsif !opt && @use_tracer
Tracer.off
end
@use_tracer=opt
end