method
write
v1_8_6_287 -
Show latest stable
- Class:
REXML::CData
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 ]]>