Class: HTML::CDATA
- Defined in:
- lib/action_controller/vendor/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:
274 275 276 |
# File 'lib/action_controller/vendor/html-scanner/html/node.rb', line 274 def to_s "<![CDATA[#{super}]]>" end |