1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/rubygems/validator.rb (Gem#remove_leading_dot_dir): make

this method private.  a patch from okkez in [ruby-dev:37245]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2008-12-04 07:58:55 +00:00
parent 57f7d8c2cd
commit 2bb4ca64f9
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Thu Dec 4 16:58:12 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/rubygems/validator.rb (Gem#remove_leading_dot_dir): make
this method private. a patch from okkez in [ruby-dev:37245]
Thu Dec 4 16:19:18 2008 Yukihiro Matsumoto <matz@ruby-lang.org> Thu Dec 4 16:19:18 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/openssl/ossl_ssl.c (ossl_ssl_read_nonblock): * ext/openssl/ossl_ssl.c (ossl_ssl_read_nonblock):

View file

@ -200,6 +200,7 @@ class Gem::Validator
Dir.chdir(start_dir) Dir.chdir(start_dir)
end end
private
def remove_leading_dot_dir(path) def remove_leading_dot_dir(path)
path.sub(/^\.\//, "") path.sub(/^\.\//, "")
end end