Reinstate #shutup!.

This commit is contained in:
Markus Reiter 2020-08-11 20:18:30 +02:00
parent 3eba477b7c
commit a19a0917b1

View File

@ -38,6 +38,11 @@ class AbstractDownloadStrategy
# Download and cache the resource as {#cached_location}.
def fetch; end
# TODO: Deprecate once we have an explicitly documented alternative.
def shutup!
@quiet = true
end
def puts(*args)
super(*args) unless quiet?
end