This holds information on a traceroute, such as the port and protocol used and an array of responsive hops
Returns the Hop object for the given TTL
# File lib/nmap/parser.rb, line 1357 def hop(ttl) @hops.find { |hop| hop.ttl == ttl.to_i } end
Returns an array of Hop objects, which are each a responsive hop, and yields them each to a block if one if given.
# File lib/nmap/parser.rb, line 1363 def hops @hops.each { |hop| yield hop } if block_given? @hops end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.