Class: CodeRay::Encoders::Null
- Defined in:
- lib/coderay/encoders/null.rb
Overview
Null Encoder
Does nothing and returns an empty string.
Constant Summary
Constants inherited from Encoder
Instance Attribute Summary
Attributes inherited from Encoder
Attributes included from Plugin
Instance Method Summary collapse
Methods inherited from Encoder
#<<, #begin_group, #begin_line, const_missing, #encode, #encode_tokens, #end_group, #end_line, #file_extension, file_extension, #initialize, #token
Methods included from Plugin
#aliases, #plugin_host, #register_for, #title
Constructor Details
This class inherits a constructor from CodeRay::Encoders::Encoder
Instance Method Details
#text_token(text, kind) ⇒ Object
11 12 13 |
# File 'lib/coderay/encoders/null.rb', line 11 def text_token text, kind # do nothing end |