Class: CodeRay::Encoders::XML
- Includes:
- Streamable
- Defined in:
- lib/coderay/encoders/xml.rb
Overview
XML Encoder
Uses REXML. Very slow.
Constant Summary collapse
- FILE_EXTENSION =
'xml'
- DEFAULT_OPTIONS =
{ :tab_width => 8, :pretty => -1, :transitive => false, }
Instance Attribute Summary
Attributes inherited from Encoder
Method Summary
Methods inherited from Encoder
const_missing, #encode, #encode_stream, #encode_tokens, #file_extension, #initialize, streamable?, #to_proc
Methods included from Plugin
#helper, #included, #plugin_host, #plugin_id, #register_for, #title
Constructor Details
This class inherits a constructor from CodeRay::Encoders::Encoder