method
write
v1_8_7_72 -
Show latest stable
- Class:
REXML::CData
write( output=$stdout, indent=-1, transitive=false, ie_hack=false )public
DEPRECATED
See the rexml/formatters package
Generates XML output of this object
| output: | Where to write the string. Defaults to $stdout |
| indent: | The amount to indent this node by |
| transitive: | Ignored |
| ie_hack: | Ignored |
Examples
c = CData.new( " Some text " ) c.write( $stdout ) #-> <![CDATA[ Some text ]]>