module Console::Output::Default
Public Class Methods
new(output, **options)
click to toggle source
# File lib/console/output/default.rb, line 27 def self.new(output, **options) output ||= $stderr if output.tty? XTerm.new(output, **options) else JSON.new(output, **options) end end