# File lib/nmap/parser.rb, line 542 def tcp_port(portnum) # :yields: port port = @tcpPorts[portnum.to_i] yield port if block_given? port end