Module: RTor::DirspecV2::NetworkStatus::DirSourceLine0
- Defined in:
- lib/rtor/dirspecv2/network_status_parser.rb
Instance Method Summary collapse
- #DirPort ⇒ Object
- #Hostname ⇒ Object
- #IPv4Address ⇒ Object
- #SP1 ⇒ Object
- #SP2 ⇒ Object
- #SP3 ⇒ Object
Instance Method Details
#DirPort ⇒ Object
60 61 62 |
# File 'lib/rtor/dirspecv2/network_status_parser.rb', line 60 def DirPort elements[6] end |
#Hostname ⇒ Object
44 45 46 |
# File 'lib/rtor/dirspecv2/network_status_parser.rb', line 44 def Hostname elements[2] end |
#IPv4Address ⇒ Object
52 53 54 |
# File 'lib/rtor/dirspecv2/network_status_parser.rb', line 52 def IPv4Address elements[4] end |
#SP1 ⇒ Object
40 41 42 |
# File 'lib/rtor/dirspecv2/network_status_parser.rb', line 40 def SP1 elements[1] end |
#SP2 ⇒ Object
48 49 50 |
# File 'lib/rtor/dirspecv2/network_status_parser.rb', line 48 def SP2 elements[3] end |
#SP3 ⇒ Object
56 57 58 |
# File 'lib/rtor/dirspecv2/network_status_parser.rb', line 56 def SP3 elements[5] end |