module TestBench::Output::Writer::Defaults

Public Class Methods

device() click to toggle source
# File lib/test_bench/output/writer.rb, line 176
def self.device
  $stdout
end
styling() click to toggle source
# File lib/test_bench/output/writer.rb, line 180
def self.styling
  styling = ::ENV['TEST_BENCH_OUTPUT_STYLING']

  if styling.nil?
    Writer.default_styling_setting
  else
    styling.to_sym
  end
end