aboutsummaryrefslogtreecommitdiffstats
path: root/lib/irb/cmd/load.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/irb/cmd/load.rb')
-rw-r--r--lib/irb/cmd/load.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/irb/cmd/load.rb b/lib/irb/cmd/load.rb
index 1b6dee6918..acda9d0c8c 100644
--- a/lib/irb/cmd/load.rb
+++ b/lib/irb/cmd/load.rb
@@ -19,7 +19,6 @@ module IRB
include IrbLoader
def execute(file_name, priv = nil)
- # return ruby_load(file_name) unless IRB.conf[:USE_LOADER]
return irb_load(file_name, priv)
end
end
@@ -28,7 +27,6 @@ module IRB
include IrbLoader
def execute(file_name)
- # return ruby_require(file_name) unless IRB.conf[:USE_LOADER]
rex = Regexp.new("#{Regexp.quote(file_name)}(\.o|\.rb)?")
return false if $".find{|f| f =~ rex}