Module: TestBench::Output::Device::Defaults
- Defined in:
- lib/test_bench/output/device.rb
Class Method Summary collapse
Class Method Details
.target_device ⇒ Object
61 62 63 64 65 66 67 68 69 |
# File 'lib/test_bench/output/device.rb', line 61 def self.target_device env_target_device = ENV.fetch('TEST_BENCH_OUTPUT_DEVICE') do STDOUT.sync = true 'stdout' end env_target_device.to_sym end |