Module: CodeRay::Encoders

Extended by:
PluginHost
Defined in:
lib/coderay/encoder.rb,
lib/coderay/encoders/div.rb,
lib/coderay/encoders/xml.rb,
lib/coderay/encoders/_map.rb,
lib/coderay/encoders/html.rb,
lib/coderay/encoders/json.rb,
lib/coderay/encoders/null.rb,
lib/coderay/encoders/page.rb,
lib/coderay/encoders/span.rb,
lib/coderay/encoders/term.rb,
lib/coderay/encoders/text.rb,
lib/coderay/encoders/yaml.rb,
lib/coderay/encoders/count.rb,
lib/coderay/encoders/debug.rb,
lib/coderay/encoders/tokens.rb,
lib/coderay/encoders/html/css.rb,
lib/coderay/encoders/statistic.rb,
lib/coderay/encoders/html/output.rb,
lib/coderay/encoders/html/numerization.rb

Overview

This module holds the Encoder class and its subclasses. For example, the HTML encoder is named CodeRay::Encoders::HTML can be found in coderay/encoders/html.

Encoders also provides methods and constants for the register mechanism and the [] method that returns the Encoder class belonging to the given format.

Defined Under Namespace

Classes: Count, Debug, Div, Encoder, HTML, JSON, Null, Page, Span, Statistic, Term, Text, Tokens, XML, YAML

Constant Summary

Constants included from PluginHost

PluginHost::HostNotFound, PluginHost::PLUGIN_HOSTS, PluginHost::PLUGIN_HOSTS_BY_ID, PluginHost::PluginNotFound

Method Summary

Methods included from PluginHost

[], default, extended, host_by_id, host_id, included, inspect, list, load_all, map, plugin_hash, plugin_path, register, require_helper