class Arachni::Parser::Document

Public Instance Methods

name() click to toggle source
# File lib/arachni/parser/document.rb, line 20
def name
    :document
end
to_html( indentation = 2, level = 0 ) click to toggle source
# File lib/arachni/parser/document.rb, line 24
def to_html( indentation = 2, level = 0 )
    html = "<!DOCTYPE html>\n"
    children.each do |child|
        html << child.to_html( indentation, level )
    end
    html << "\n"
end