diff options
Diffstat (limited to 'lib/rubygems/user_interaction.rb')
-rw-r--r-- | lib/rubygems/user_interaction.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/rubygems/user_interaction.rb b/lib/rubygems/user_interaction.rb index 03eac76ea8..ecd1454e2d 100644 --- a/lib/rubygems/user_interaction.rb +++ b/lib/rubygems/user_interaction.rb @@ -227,7 +227,7 @@ class Gem::StreamUI @outs.puts question list.each_with_index do |item, index| - @outs.puts " #{index+1}. #{item}" + @outs.puts " #{index + 1}. #{item}" end @outs.print "> " @@ -418,6 +418,7 @@ class Gem::StreamUI def done end + end ## @@ -506,6 +507,7 @@ class Gem::StreamUI def done @out.puts @terminal_message end + end ## @@ -549,6 +551,7 @@ class Gem::StreamUI def done end + end ## @@ -603,7 +606,9 @@ class Gem::StreamUI @out.puts message end end + end + end ## @@ -619,6 +624,7 @@ class Gem::ConsoleUI < Gem::StreamUI def initialize super STDIN, STDOUT, STDERR, true end + end ## @@ -651,4 +657,5 @@ class Gem::SilentUI < Gem::StreamUI def progress_reporter(*args) # :nodoc: SilentProgressReporter.new(@outs, *args) end + end |