class Nmap::Scanner

Describes the `nmap` command.

Public Instance Methods

to_s() click to toggle source

Converts the scanner to a String.

@return [String]

The scanner name and arguments.
# File lib/nmap/scanner.rb, line 13
def to_s
  "#{self.name} #{self.arguments}"
end