Method: Nmap::XML#tasks

Defined in:
lib/nmap/xml.rb

#tasksArray<ScanTask>

Parses the tasks of the scan.

Returns:

  • (Array<ScanTask>)

    The tasks of the scan.

Since:

  • 0.1.2


241
242
243
# File 'lib/nmap/xml.rb', line 241

def tasks
  each_task.to_a
end