class Arachni::Parser::Nodes::Text

Public Instance Methods

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