Sha256: f3add70f6869dc0dc01b14ad6becfbff5900af611edd8d2e673f289a9e4c89ea
Contents?: true
Size: 395 Bytes
Versions: 20
Compression:
Stored size: 395 Bytes
Contents
# frozen_string_literal: true # Released under the MIT License. # Copyright, 2021-2022, by Samuel Williams. require_relative 'xterm' require_relative 'json' module Console module Output module Default def self.new(output, **options) output ||= $stderr if output.tty? XTerm.new(output, **options) else JSON.new(output, **options) end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems