instance method escape_value

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.2.3 Private

Signature

escape_value(data)

Replaces XML markup characters by their external entities.

data

The string to be escaped.

Parameters

data req
Source
# File activesupport/lib/active_support/vendor/xml-simple-1.0.11/xmlsimple.rb, line 893
  def escape_value(data)
    Text::normalize(data)
  end

Defined in activesupport/lib/active_support/vendor/xml-simple-1.0.11/xmlsimple.rb line 893 · View on GitHub · Improve this page · Find usages on GitHub

Defined in XmlSimple

Type at least 2 characters to search.

↑↓ navigate · open · esc close