class Nmap::Hop
Represents a hop in a traceroute.
@since 0.7.0
Public Instance Methods
to_s()
click to toggle source
Converts the hop to a String.
@return [String]
The IP address of the hop.
# File lib/nmap/hop.rb, line 15 def to_s self.addr.to_s end