This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
# Released under the MIT License.
|
||||
# Copyright, 2021-2024, by Samuel Williams.
|
||||
|
||||
module Console
|
||||
module Output
|
||||
class Wrapper
|
||||
def initialize(delegate, **options)
|
||||
@delegate = delegate
|
||||
end
|
||||
|
||||
attr :delegate
|
||||
|
||||
def last_output
|
||||
@delegate.last_output
|
||||
end
|
||||
|
||||
def verbose!(value = true)
|
||||
@delegate.verbose!(value)
|
||||
end
|
||||
|
||||
def call(...)
|
||||
@delegate.call(...)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user