Class: HTML::CDATA

Inherits:
Text show all
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

#content

Attributes inherited from Node

#children, #line, #parent, #position

Instance Method Summary collapse

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_sObject

:nodoc:



275
276
277
# File 'lib/action_controller/vendor/html-scanner/html/node.rb', line 275

def to_s
  "<![CDATA[#{super}]]>"
end