Module: RTor::DirspecV2::NetworkStatus::DirSourceLine0

Defined in:
lib/rtor/dirspecv2/network_status_parser.rb

Instance Method Summary collapse

Instance Method Details

#DirPortObject



60
61
62
# File 'lib/rtor/dirspecv2/network_status_parser.rb', line 60

def DirPort
  elements[6]
end

#HostnameObject



44
45
46
# File 'lib/rtor/dirspecv2/network_status_parser.rb', line 44

def Hostname
  elements[2]
end

#IPv4AddressObject



52
53
54
# File 'lib/rtor/dirspecv2/network_status_parser.rb', line 52

def IPv4Address
  elements[4]
end

#SP1Object



40
41
42
# File 'lib/rtor/dirspecv2/network_status_parser.rb', line 40

def SP1
  elements[1]
end

#SP2Object



48
49
50
# File 'lib/rtor/dirspecv2/network_status_parser.rb', line 48

def SP2
  elements[3]
end

#SP3Object



56
57
58
# File 'lib/rtor/dirspecv2/network_status_parser.rb', line 56

def SP3
  elements[5]
end