summaryrefslogtreecommitdiff
path: root/lib/rubygems/uninstaller.rb
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-08 20:58:42 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-08 20:58:42 +0000
commitcceca83afe046b8c2b53eab6ab7c52faa1719b6d (patch)
treecfe7eac6ed4c0f4cabca1d7ec08ce1e144a8b95a /lib/rubygems/uninstaller.rb
parent571ed8655fa499084114024c4a7f249228a8bc3d (diff)
* lib/rubygems/*: Remove unused variables warnings
Patch by Run Paint [ruby-core:30991] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/uninstaller.rb')
-rw-r--r--lib/rubygems/uninstaller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/uninstaller.rb b/lib/rubygems/uninstaller.rb
index 1dea232634..b8feb483f8 100644
--- a/lib/rubygems/uninstaller.rb
+++ b/lib/rubygems/uninstaller.rb
@@ -82,7 +82,7 @@ class Gem::Uninstaller
gem_names = list.collect {|gem| gem.full_name} + ["All versions"]
say
- gem_name, index = choose_from_list "Select gem to uninstall:", gem_names
+ _, index = choose_from_list "Select gem to uninstall:", gem_names
if index == list.size then
remove_all list.dup