Sha256: 3d908b85440334691260fcd5a595e7eb2aa64efd8614ef410a8a26697500fa8f
Contents?: true
Size: 388 Bytes
Versions: 4
Compression:
Stored size: 388 Bytes
Contents
module DeepTest module Distributed class SshClientConnectionInfo attr_reader :address def initialize raise "SSH_CLIENT environment variable not set" unless ENV['SSH_CLIENT'] ENV['SSH_CLIENT'] =~ /^(.+) \d+ \d+$/ raise "Unable to extract address from SSH_CLIENT (#{ENV['SSH_CLIENT']})" unless $1 @address = $1 end end end end
Version data entries
4 entries across 4 versions & 2 rubygems