# File lib/nmap/parser.rb, line 319
        def initialize(xml) # :yields: parser
                if not xml.is_a?(String)
                        raise "Must be passed a String (got #{xml.class})"
                end

                parse(xml)

                yield self if block_given?
        end