method

clone

v1_8_6_287 - Show 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"