Module: TestBench::Output::Writer::Defaults

Defined in:
lib/test_bench/output/writer.rb

Class Method Summary collapse

Class Method Details

.deviceObject



176
177
178
# File 'lib/test_bench/output/writer.rb', line 176

def self.device
  $stdout
end

.stylingObject



180
181
182
183
184
185
186
187
188
# 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