# File lib/nmap/parser.rb, line 400 def scan_types() # :yields: scantype types = [] @scaninfo.each do |info| types << info.type yield info.type if block_given? end types end