Sha256: 4897110d154f91ec95b21ee89718a87884edbc509695108c83c1a3a2ec866bf2
Contents?: true
Size: 386 Bytes
Versions: 3
Compression:
Stored size: 386 Bytes
Contents
module DeepTest class TestOperator < Telegraph::Operator def self.listen(options = nil) operator = super("localhost", 0, Telegraph::Switchboard.new) DynamicTeardown.on_teardown { operator = shutdown } options.server_port = operator.port if options operator end def next_message @switchboard.next_message(:timeout => 0.1) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jstorimer-deep-test-2.0.0 | infrastructure/test_operator.rb |
jstorimer-deep-test-0.2.0 | infrastructure/test_operator.rb |
jstorimer-deep-test-0.1.0 | infrastructure/test_operator.rb |