Class: CodeRay::Encoders::XML

Inherits:
Encoder
  • Object
show all
Includes:
CodeRay::Streamable
Defined in:
vendor/plugins/coderay-0.9.2/lib/coderay/encoders/xml.rb

Overview

XML Encoder

Uses REXML. Very slow.

Constant Summary

FILE_EXTENSION =
'xml'
DEFAULT_OPTIONS =
{
  :tab_width => 8,
  :pretty => -1,
  :transitive => false,
}

Constants inherited from Encoder

DEFAULT_OPTIONS

Method Summary

Methods inherited from Encoder

const_missing, #encode, #encode_stream, #encode_tokens, #file_extension, #initialize, streamable?, #to_proc

Methods included from CodeRay::Plugin

#helper, #included, #plugin_host, #plugin_id, #register_for, #title

Constructor Details

This class inherits a constructor from CodeRay::Encoders::Encoder