mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
f3ad9bf9b3
[ruby-core:16642] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
3 lines
83 B
Ruby
3 lines
83 B
Ruby
if nul = $:.find_index {|path| /\A(?:\.\/)*-\z/ =~ path}
|
|
$:[nul..-1] = ["."]
|
|
end
|