Sha256: 8fe28121166034d7a5f7f1249badeb42ff291fc83d012e48145ee98369f6af6c
Contents?: true
Size: 417 Bytes
Versions: 2
Compression:
Stored size: 417 Bytes
Contents
require 'transports' # A transport which does nothing module Servicy # This is a simple transport implementation that is to be used primarily for # testing, so that I don't have to have a bunch of servers running just to # run rspec... class NilTransport < Servicy::Transport def send(message) nil end def start while true end end def stop nil end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
servicy-0.0.6 | lib/transport/null_transport.rb |
servicy-0.0.5 | lib/transport/null_transport.rb |