Sha256: 50f2c5f42a561a43db0226842ea97a85d9bb411210361a47b0ce1b09a7f2a204
Contents?: true
Size: 377 Bytes
Versions: 1
Compression:
Stored size: 377 Bytes
Contents
# frozen_string_literal: true module Nmap class XML # # Represents a hop in a traceroute. # # @since 1.0.0 # class Hop < Struct.new(:addr, :host, :ttl, :rtt) # # Converts the hop to a String. # # @return [String] # The IP address of the hop. # def to_s self.addr.to_s end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-nmap-1.0.3 | lib/nmap/xml/hop.rb |