class Nmap::XML::HostScript

Represents the ‘hostscript` element.

@since 1.0.0

Public Class Methods

new(node) click to toggle source

Initializes the HostScript object.

@param [Nokogiri::XML::Node] node

The XML node that contains the host information.
# File lib/nmap/xml/host_script.rb, line 20
def initialize(node)
  @node = node
end