diff options
author | Stan Lo <[email protected]> | 2024-02-07 14:59:06 +0000 |
---|---|---|
committer | git <[email protected]> | 2024-02-07 14:59:10 +0000 |
commit | 5f4245e74b84e1435d51f45a43717a5d33aef4cb (patch) | |
tree | 9f90e0cd535c7f05c557c546113523da7abcbe3c /lib/irb/init.rb | |
parent | 164c18af7b4a36dd7f6eea499e297c842ccb1585 (diff) |
[ruby/irb] Polish tracer integration and tests
(https://github.com/ruby/irb/pull/864)
* Remove useless ivar
* Simplify tracer test setup
* Treat tracer like a normal development dependency
* Only require ext/tracer when value is truthy
* Make tracer integration skip IRB traces
https://github.com/ruby/irb/commit/a97a4129a7
Diffstat (limited to 'lib/irb/init.rb')
-rw-r--r-- | lib/irb/init.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/irb/init.rb b/lib/irb/init.rb index a434ab23e2..8acfdea8e1 100644 --- a/lib/irb/init.rb +++ b/lib/irb/init.rb @@ -62,9 +62,6 @@ module IRB # :nodoc: # @CONF default setting def IRB.init_config(ap_path) - # class instance variables - @TRACER_INITIALIZED = false - # default configurations unless ap_path and @CONF[:AP_NAME] ap_path = File.join(File.dirname(File.dirname(__FILE__)), "irb.rb") |