From ea2fb7460e8bb15d420cbcc50c2722eb3c302815 Mon Sep 17 00:00:00 2001 From: tomoya ishida Date: Fri, 23 Feb 2024 22:11:16 +0900 Subject: [PATCH] [ruby/irb] Remove useless loaded file check (https://github.com/ruby/irb/pull/885) https://github.com/ruby/irb/commit/f6d489658e --- lib/irb/ext/use-loader.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/irb/ext/use-loader.rb b/lib/irb/ext/use-loader.rb index f47d1cab04..77c53b7d57 100644 --- a/lib/irb/ext/use-loader.rb +++ b/lib/irb/ext/use-loader.rb @@ -49,8 +49,6 @@ module IRB if IRB.conf[:USE_LOADER] != opt IRB.conf[:USE_LOADER] = opt if opt - if !$".include?("irb/command/load") - end (class<<@workspace.main;self;end).instance_eval { alias_method :load, :irb_load alias_method :require, :irb_require