Skip to content

Commit

Permalink
[ruby/irb] Remove useless loaded file check
Browse files Browse the repository at this point in the history
  • Loading branch information
tompng authored and matzbot committed Feb 23, 2024
1 parent 3371936 commit ea2fb74
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/irb/ext/use-loader.rb
Expand Up @@ -49,8 +49,6 @@ def use_loader=(opt)
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
Expand Down

0 comments on commit ea2fb74

Please sign in to comment.