write

write( output=$stdout, indent=-1, transitive=false, ie_hack=false )
Instance Public methods

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 ]]>
doc_ruby_on_rails
2015-05-06 02:49:12
Comments
Leave a Comment

Please login to continue.