Class: HTML::CDATA
- Defined in:
- lib/rails/deprecated_sanitizer/html-scanner/html/node.rb
Overview
A CDATA node is simply a text node with a specialized way of displaying itself.
Instance Attribute Summary
Attributes inherited from Text
Attributes inherited from Node
#children, #line, #parent, #position
Instance Method Summary collapse
-
#to_s ⇒ Object
:nodoc:.
Methods inherited from Text
#==, #find, #initialize, #match
Methods inherited from Node
#==, #find, #find_all, #initialize, #match, parse, #tag?, #validate_conditions
Constructor Details
This class inherits a constructor from HTML::Text
Instance Method Details
#to_s ⇒ Object
:nodoc:
269 270 271 |
# File 'lib/rails/deprecated_sanitizer/html-scanner/html/node.rb', line 269 def to_s "<![CDATA[#{super}]]>" end |