Sha256: aefbdfcaf4d61b032be5b4a1e7c7afcc187058819c3e4fa1b5b2b87b2dee46be
Contents?: true
Size: 474 Bytes
Versions: 11
Compression:
Stored size: 474 Bytes
Contents
class DummyServerengine def initialize end def startup @server = nil if defined?(ServerEngine) # for v0.14. in_forward requires socket manager server socket_manager_path = ServerEngine::SocketManager::Server.generate_path @server = ServerEngine::SocketManager::Server.open(socket_manager_path) ENV['SERVERENGINE_SOCKETMANAGER_PATH'] = socket_manager_path.to_s end @server end def shutdown @server.close if @server end end
Version data entries
11 entries across 11 versions & 1 rubygems