Method: REXML::CData#clone

Defined in:
lib/rexml/cdata.rb

#cloneObject

Make a copy of this object

Examples

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


26
27
28
# File 'lib/rexml/cdata.rb', line 26

def clone
  CData.new self
end