summaryrefslogtreecommitdiff
path: root/lib/irb
diff options
context:
space:
mode:
authorkeiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-08-30 07:22:06 +0000
committerkeiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-08-30 07:22:06 +0000
commitd14de3ecc797f94640aa72ce9a0d33fe11b65cf4 (patch)
treefc6d095fe7e860cfaf93934427830b7a2fea48fd /lib/irb
parentda7d6381c9b15993821fdc9f1019c9b4455353a4 (diff)
* lib/irb/init.rb: bug fix. [ruby-dev: 26920]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb')
-rw-r--r--lib/irb/init.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/init.rb b/lib/irb/init.rb
index c53d5adf31..842eb1221e 100644
--- a/lib/irb/init.rb
+++ b/lib/irb/init.rb
@@ -193,7 +193,7 @@ module IRB
end
end
if RUBY_VERSION >= FEATURE_IOPT_CHANGE_VERSION
- load_path.collect do |path|
+ load_path.collect! do |path|
/\A\.\// =~ path ? path : File.expand_path(path)
end
end