Sha256: bc29430c28ff60c02f4429450318990bd64685ddc99a55c2bc65bcb35fb986b3
Contents?: true
Size: 959 Bytes
Versions: 6
Compression:
Stored size: 959 Bytes
Contents
module Nmap class Scanner # The name of the scanner attr_reader :name # The version of the scanner attr_reader :version # The arguments used with the scanner attr_reader :arguments # The time the scan begun attr_reader :start_time # # Creates a new Scanner object. # # @param [String] name # The name of the scanner. # # @param [String] version # The version of the scanner. # # @param [String] arguments # The arguments used with the scanner. # # @param [Time] start_time # The time the scan begun # def initialize(name,version,arguments,start_time) @name = name @version = version @arguments = arguments @start_time = start_time end # # Converts the scanner to a String. # # @return [String] # The scanner name and arguments. # def to_s "#{@name} #{@arguments}" end end end
Version data entries
6 entries across 6 versions & 1 rubygems