Class: Nmap::XML::HostScript

Inherits:
Object
  • Object
show all
Includes:
Scripts
Defined in:
lib/nmap/xml/host_script.rb

Overview

Represents the hostscript element.

Since:

  • 1.0.0

Instance Method Summary collapse

Methods included from Scripts

#scripts

Constructor Details

#initialize(node) ⇒ HostScript

Initializes the HostScript object.

Parameters:

  • node (Nokogiri::XML::Node)

    The XML node that contains the host information.

Since:

  • 1.0.0



22
23
24
# File 'lib/nmap/xml/host_script.rb', line 22

def initialize(node)
  @node = node
end