method

text

text(txt)
public

No documentation available.

# File lib/xmlrpc/create.rb, line 48
      def text(txt)
        cleaned = txt.dup
        cleaned.gsub!(/&/, '&')
        cleaned.gsub!(/</, '&lt;')
        cleaned.gsub!(/>/, '&gt;')
        cleaned
      end