Sha256: 791980913b9610fc90a5c902980aa9434ec21a8272e4342e516dd09d9ee223a9
Contents?: true
Size: 404 Bytes
Versions: 24
Compression:
Stored size: 404 Bytes
Contents
module DeepTest module Distributed class DRbClientConnectionInfo attr_reader :address def initialize info = Thread.current['DRb'] raise "No DRb client found" unless info && info['client'] peeraddr = info['client'].peeraddr DeepTest.logger.debug("DRbClientConnection info: #{peeraddr.inspect}") @address = peeraddr[3] end end end end
Version data entries
24 entries across 24 versions & 4 rubygems