summaryrefslogtreecommitdiffstats
path: root/lib
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
commit01d8c2c472b0a5d9ebefb31011e6980b517756b8 (patch)
treefc6d095fe7e860cfaf93934427830b7a2fea48fd /lib
parenta6dbe996da72924914146854bf2b13aacab189d8 (diff)
downloadruby-01d8c2c472b0a5d9ebefb31011e6980b517756b8.tar.gz
ruby-01d8c2c472b0a5d9ebefb31011e6980b517756b8.tar.xz
ruby-01d8c2c472b0a5d9ebefb31011e6980b517756b8.zip
* lib/irb/init.rb: bug fix. [ruby-dev: 26920]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-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 c53d5adf3..842eb1221 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