summaryrefslogtreecommitdiff
path: root/lib/irb/ext/use-loader.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/irb/ext/use-loader.rb')
-rw-r--r--lib/irb/ext/use-loader.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/irb/ext/use-loader.rb b/lib/irb/ext/use-loader.rb
index c5ecbe2847..b22e6d2bf4 100644
--- a/lib/irb/ext/use-loader.rb
+++ b/lib/irb/ext/use-loader.rb
@@ -4,7 +4,7 @@
# by Keiju ISHITSUKA([email protected])
#
-require_relative "../cmd/load"
+require_relative "../command/load"
require_relative "loader"
class Object
@@ -49,7 +49,7 @@ module IRB
if IRB.conf[:USE_LOADER] != opt
IRB.conf[:USE_LOADER] = opt
if opt
- if !$".include?("irb/cmd/load")
+ if !$".include?("irb/command/load")
end
(class<<@workspace.main;self;end).instance_eval {
alias_method :load, :irb_load