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/filter.rb,
lib/coderay/encoders/html/css.rb,
lib/coderay/encoders/statistic.rb,
lib/coderay/encoders/html/output.rb,
lib/coderay/encoders/lines_of_code.rb,
lib/coderay/encoders/comment_filter.rb,
lib/coderay/encoders/html/numerization.rb,
lib/coderay/encoders/token_class_filter.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: CommentFilter, Count, Debug, Div, Encoder, Filter, HTML, JSON, LinesOfCode, Null, Page, Span, Statistic, Term, Text, TokenClassFilter, 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