method

clone

ruby latest stable - Class: REXML::CData
clone()
public

Make a copy of this object

Examples

c = CData.new( "Some text" )
d = c.clone
d.to_s        # -> "Some text"