diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-20 03:30:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-20 03:30:59 +0000 |
commit | c9dd4823d98141754842c0b356b141d94ba36604 (patch) | |
tree | f2b25b637c22571cfc5c1eed76ee62b19520b47f /lib/rubygems | |
parent | 772cc7a4f212fa3249f88c98b19645beb7f3d199 (diff) | |
download | ruby-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')
-rw-r--r-- | lib/rubygems/commands/dependency_command.rb | 2 | ||||
-rw-r--r-- | lib/rubygems/spec_fetcher.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/commands/dependency_command.rb b/lib/rubygems/commands/dependency_command.rb index 61e3b59fd7..35702fbc6e 100644 --- a/lib/rubygems/commands/dependency_command.rb +++ b/lib/rubygems/commands/dependency_command.rb @@ -159,7 +159,7 @@ class Gem::Commands::DependencyCommand < Gem::Command response end - # Retuns list of [specification, dep] that are satisfied by spec. + # Returns list of [specification, dep] that are satisfied by spec. def find_reverse_dependencies(spec) result = [] 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) |