Sha256: 8d952c34a3e945eb02896f0e17b8e132103e1e3bec6a0da332733f04e894e9af
Contents?: true
Size: 413 Bytes
Versions: 5
Compression:
Stored size: 413 Bytes
Contents
# frozen_string_literal: true # Released under the MIT License. # Copyright, 2021-2024, by Samuel Williams. require_relative 'terminal' require_relative 'serialized' module Console module Output module Default def self.new(output, **options) output ||= $stderr if output.tty? Terminal.new(output, **options) else Serialized.new(output, **options) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems