Class | CodeRay::Encoders::Filter |
In: |
lib/coderay/encoders/filter.rb
|
Parent: | Encoder |
A Filter encoder has another Tokens instance as output. It can be subclass to select, remove, or modify tokens in the stream.
Subclasses of Filter are called "Filters" and can be chained.
The Tokens object which will receive the output.
Default: Tokens.new
See also: TokenKindFilter