Method: Nmap::XML#up_host
- Defined in:
- lib/nmap/xml.rb
#up_host ⇒ Host
Returns the first host found to be up during the scan.
420 421 422 |
# File 'lib/nmap/xml.rb', line 420 def up_host each_up_host.first end |
Returns the first host found to be up during the scan.
420 421 422 |
# File 'lib/nmap/xml.rb', line 420 def up_host each_up_host.first end |