Module: Messaging::Write::Substitute
- Defined in:
- lib/messaging/write/substitute.rb
Defined Under Namespace
Classes: Write
Constant Summary collapse
- Error =
Class.new(RuntimeError)
Class Method Summary collapse
Class Method Details
.build ⇒ Object
4 5 6 7 8 9 |
# File 'lib/messaging/write/substitute.rb', line 4 def self.build Substitute::Write.build.tap do |substitute_writer| sink = Messaging::Write.register_telemetry_sink(substitute_writer) substitute_writer.sink = sink end end |