# File lib/nmap/parser.rb, line 277 def host(hostip) @hosts.find do |host| host.addr == hostip or host.hostname == hostip end end