Skip to content

Commit

Permalink
Remove useless loaded file check (#885)
Browse files Browse the repository at this point in the history
  • Loading branch information
tompng authored Feb 23, 2024
1 parent 820b9e8 commit f6d4896
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/irb/ext/use-loader.rb
Original file line number Diff line number Diff line change
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 f6d4896

Please sign in to comment.