summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomoya ishida <[email protected]>2024-02-23 22:11:16 +0900
committergit <[email protected]>2024-02-23 13:11:20 +0000
commitea2fb7460e8bb15d420cbcc50c2722eb3c302815 ()
tree8ee00915b7c04d0fec241a14e875471fa48e1fe6
parent3371936b6f863ab0aae0ad5a106cad03b377b88e (diff)
[ruby/irb] Remove useless loaded file check
(https://.com/ruby/irb/pull/885) https://.com/ruby/irb/commit/f6d489658e
-rw-r--r--lib/irb/ext/use-loader.rb2
1 files changed, 0 insertions, 2 deletions
@@ -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