class Arachni::Parser::Nodes::Comment

Public Instance Methods

text() click to toggle source
# File lib/arachni/parser/nodes/comment.rb, line 19
def text
    @value
end
to_html( indentation = 2, level = 0 ) click to toggle source
# File lib/arachni/parser/nodes/comment.rb, line 23
def to_html( indentation = 2, level = 0 )
    indent = ' ' * (indentation * level)
    "#{indent}<!-- #{value} -->\n"
end