Module: CodeRay::Encoders

Extended by:
PluginHost
Defined in:
lib/coderay/encoders.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/lint.rb,
lib/coderay/encoders/null.rb,
lib/coderay/encoders/page.rb,
lib/coderay/encoders/span.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/encoder.rb,
lib/coderay/encoders/html/css.rb,
lib/coderay/encoders/terminal.rb,
lib/coderay/encoders/statistic.rb,
lib/coderay/encoders/debug_lint.rb,
lib/coderay/encoders/html/output.rb,
lib/coderay/encoders/lines_of_code.rb,
lib/coderay/encoders/comment_filter.rb,
lib/coderay/encoders/html/numbering.rb,
lib/coderay/encoders/token_kind_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, DebugLint, Div, Encoder, Filter, HTML, JSON, LinesOfCode, Lint, Null, Page, Span, Statistic, Terminal, Text, TokenKindFilter, 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

[], all_plugins, const_missing, default, extended, list, load_all, load_plugin_map, map, plugin_hash, plugin_path, register