Sha256: e654a4144ad2b4b271d93d83132bd0c5f5ae0798cb7605620c326d944216ebb8
Contents?: true
Size: 389 Bytes
Versions: 3
Compression:
Stored size: 389 Bytes
Contents
module Nmap class XML # # Describes the `nmap` command. # # @since 1.0.0 # class Scanner < Struct.new(:name, :version, :arguments, :start_time) # # Converts the scanner to a String. # # @return [String] # The scanner name and arguments. # def to_s "#{self.name} #{self.arguments}" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby-nmap-1.0.2 | lib/nmap/xml/scanner.rb |
ruby-nmap-1.0.1 | lib/nmap/xml/scanner.rb |
ruby-nmap-1.0.0 | lib/nmap/xml/scanner.rb |