Class: Arachni::Parser::Nodes::Comment
- Includes:
 - WithValue
 
- Defined in:
 - lib/arachni/parser/nodes/comment.rb
 
Instance Attribute Summary
Attributes included from WithValue
Attributes inherited from Base
Instance Method Summary collapse
Methods included from WithValue
Instance Method Details
#text ⇒ Object
      19 20 21  | 
    
      # File 'lib/arachni/parser/nodes/comment.rb', line 19 def text @value end  | 
  
#to_html(indentation = 2, level = 0) ⇒ Object
      23 24 25 26  | 
    
      # File 'lib/arachni/parser/nodes/comment.rb', line 23 def to_html( indentation = 2, level = 0 ) indent = ' ' * (indentation * level) "#{indent}<!-- #{value} -->\n" end  |