method

clone

v2_6_3 - 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"