Sha256: 25f065075c1b821bbaad0eef48051ebb06e074db98bdce05b95d824c25db4450
Contents?: true
Size: 464 Bytes
Versions: 8
Compression:
Stored size: 464 Bytes
Contents
# frozen_string_literal: true # Released under the MIT License. # Copyright, 2022-2024, by Samuel Williams. module Console module Output class Split def self.[](*outputs) self.new(outputs) end def initialize(outputs) @outputs = outputs end def verbose!(value = true) @outputs.each{|output| output.verbose!(value)} end def call(...) @outputs.each do |output| output.call(...) end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems