method

clone

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