# File lib/nmap/parser.rb, line 704 def ip_proto(protonum) # :yields: proto proto = @ipProtos[protonum.to_i] yield proto if block_given? proto end