aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/spec_fetcher.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-20 03:30:59 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-20 03:30:59 +0000
commitc9dd4823d98141754842c0b356b141d94ba36604 (patch)
treef2b25b637c22571cfc5c1eed76ee62b19520b47f /lib/rubygems/spec_fetcher.rb
parent772cc7a4f212fa3249f88c98b19645beb7f3d199 (diff)
downloadruby-c9dd4823d98141754842c0b356b141d94ba36604.tar.gz
* lib: fixed typo. a patch by Sho Hashimoto in [ruby-dev:40716].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/spec_fetcher.rb')
-rw-r--r--lib/rubygems/spec_fetcher.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/spec_fetcher.rb b/lib/rubygems/spec_fetcher.rb
index 6d1fa9f63d..027970c342 100644
--- a/lib/rubygems/spec_fetcher.rb
+++ b/lib/rubygems/spec_fetcher.rb
@@ -53,7 +53,7 @@ class Gem::SpecFetcher
end
##
- # Retuns the local directory to write +uri+ to.
+ # Returns the local directory to write +uri+ to.
def cache_dir(uri)
File.join @dir, "#{uri.host}%#{uri.port}", File.dirname(uri.path)