Method: REXML::CData#to_s
- Defined in:
- lib/rexml/cdata.rb
#to_s ⇒ Object
Returns the content of this CData object
Examples
c = CData.new( "Some text" )
c.to_s # -> "Some text"
35 36 37 |
# File 'lib/rexml/cdata.rb', line 35 def to_s @string end |