lib/console/output/wrapper.rb
# 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