diff options
| author | tomoya ishida <tomoyapenguin@gmail.com> | 2024-02-23 22:11:16 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-02-23 13:11:20 +0000 |
| commit | ea2fb7460e8bb15d420cbcc50c2722eb3c302815 (patch) | |
| tree | 8ee00915b7c04d0fec241a14e875471fa48e1fe6 /lib | |
| parent | 3371936b6f863ab0aae0ad5a106cad03b377b88e (diff) | |
[ruby/irb] Remove useless loaded file check
(https://github.com/ruby/irb/pull/885)
https://github.com/ruby/irb/commit/f6d489658e
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/irb/ext/use-loader.rb | 2 |
1 files changed, 0 insertions, 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 |
