summaryrefslogtreecommitdiff
path: root/lib/rubygems/user_interaction.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/user_interaction.rb')
-rw-r--r--lib/rubygems/user_interaction.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/rubygems/user_interaction.rb b/lib/rubygems/user_interaction.rb
index 616659ea9e..a5ebaf61e4 100644
--- a/lib/rubygems/user_interaction.rb
+++ b/lib/rubygems/user_interaction.rb
@@ -173,7 +173,6 @@ end
# Gem::StreamUI implements a simple stream based user interface.
class Gem::StreamUI
-
extend Gem::Deprecate
##
@@ -388,7 +387,6 @@ class Gem::StreamUI
# An absolutely silent progress reporter.
class SilentProgressReporter
-
##
# The count of items is never updated for the silent progress reporter.
@@ -413,14 +411,12 @@ class Gem::StreamUI
def done
end
-
end
##
# A basic dotted progress reporter.
class SimpleProgressReporter
-
include Gem::DefaultUserInteraction
##
@@ -458,14 +454,12 @@ class Gem::StreamUI
def done
@out.puts "\n#{@terminal_message}"
end
-
end
##
# A progress reporter that prints out messages about the current progress.
class VerboseProgressReporter
-
include Gem::DefaultUserInteraction
##
@@ -502,7 +496,6 @@ class Gem::StreamUI
def done
@out.puts @terminal_message
end
-
end
##
@@ -520,7 +513,6 @@ class Gem::StreamUI
# An absolutely silent download reporter.
class SilentDownloadReporter
-
##
# The silent download reporter ignores all arguments
@@ -546,14 +538,12 @@ class Gem::StreamUI
def done
end
-
end
##
# A progress reporter that behaves nicely with threaded downloading.
class ThreadedDownloadReporter
-
MUTEX = Mutex.new
##
@@ -602,9 +592,7 @@ class Gem::StreamUI
@out.puts message
end
end
-
end
-
end
##
@@ -612,7 +600,6 @@ end
# STDOUT, and STDERR.
class Gem::ConsoleUI < Gem::StreamUI
-
##
# The Console UI has no arguments as it defaults to reading input from
# stdin, output to stdout and warnings or errors to stderr.
@@ -620,14 +607,12 @@ class Gem::ConsoleUI < Gem::StreamUI
def initialize
super STDIN, STDOUT, STDERR, true
end
-
end
##
# SilentUI is a UI choice that is absolutely silent.
class Gem::SilentUI < Gem::StreamUI
-
##
# The SilentUI has no arguments as it does not use any stream.
@@ -653,5 +638,4 @@ class Gem::SilentUI < Gem::StreamUI
def progress_reporter(*args) # :nodoc:
SilentProgressReporter.new(@outs, *args)
end
-
end