summaryrefslogtreecommitdiff
path: root/lib/irb/context.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/irb/context.rb')
-rw-r--r--lib/irb/context.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/irb/context.rb b/lib/irb/context.rb
index ac61b765c0..5b8791c3ba 100644
--- a/lib/irb/context.rb
+++ b/lib/irb/context.rb
@@ -161,6 +161,11 @@ module IRB
private_constant :KEYWORD_ALIASES
+ def use_tracer=(val)
+ require_relative "ext/tracer"
+ @use_tracer = val
+ end
+
private def build_completor
completor_type = IRB.conf[:COMPLETOR]
case completor_type