mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
merges r20496 from trunk into ruby_1_9_1.
* 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/branches/ruby_1_9_1@20510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
47f56def29
commit
bd9befd99e
2 changed files with 6 additions and 0 deletions
|
|
@ -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:16:09 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* lib/gserver.rb: fixed type in sample code. a report from Oleg
|
||||
|
|
|
|||
|
|
@ -200,6 +200,7 @@ class Gem::Validator
|
|||
Dir.chdir(start_dir)
|
||||
end
|
||||
|
||||
private
|
||||
def remove_leading_dot_dir(path)
|
||||
path.sub(/^\.\//, "")
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue