Class: Ronin::Payloads::Encoders::XML::Encode
- Inherits:
-
Ronin::Payloads::Encoders::XMLEncoder
- Object
- Encoder
- Ronin::Payloads::Encoders::XMLEncoder
- Ronin::Payloads::Encoders::XML::Encode
- Defined in:
- lib/ronin/payloads/encoders/builtin/xml/encode.rb
Overview
An XML encoder that encodes every character as a XML special character.
Instance Method Summary collapse
-
#encode(data) ⇒ String
XML encodes the given data.
Methods inherited from Encoder
Instance Method Details
#encode(data) ⇒ String
XML encodes the given data.
53 54 55 |
# File 'lib/ronin/payloads/encoders/builtin/xml/encode.rb', line 53 def encode(data) Support::Encoding::XML.encode(data) end |