method
write
write( output=$stdout, indent=-1, transitive=false, ie_hack=false )
public
DEPRECATED
See the rexml/formatters package
Generates <a href="/ruby/XML">XML</a> 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 ]]>