Sha256: f1b339646c1480e9cc46db5be3b69498b47f52394c9e23de300cf7ff21c4217a

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

# 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
console-1.29.0 lib/console/output/wrapper.rb