Method: Nmap::ScanTask#to_s

Defined in:
lib/nmap/scan_task.rb

#to_sString

Converts the scan task to a String.

Returns:

  • (String)

    The String form of the scan task.

Since:

  • 0.1.2



60
61
62
# File 'lib/nmap/scan_task.rb', line 60

def to_s
  "#{@start}: #{@name} (#{@extrainfo})"
end