Module: TestBench::Controls::Output
- Defined in:
- lib/test_bench/controls/output.rb
Defined Under Namespace
Modules: Device, Error, Summary
Class Method Summary collapse
Class Method Details
.attach(binding, level = nil) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/test_bench/controls/output.rb', line 4 def self.attach binding, level=nil level ||= :verbose output = TestBench::Output.build level subscription = TestBench::Telemetry::Subscription.new output telemetry = TestBench::Telemetry::Registry.get binding telemetry.add_observer subscription output end |