method

cdata!

rails latest stable - Class: Builder::XmlMarkup

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.0.0) is shown here.

cdata!(text)
public

Surrounds the given text with a CDATA tag

For example:

  xml.cdata! "blah blah blah"
      # => <![CDATA[blah blah blah]]>