diff options
Diffstat (limited to 'lib/coderay/scanners/plaintext.rb')
-rw-r--r-- | lib/coderay/scanners/plaintext.rb | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/lib/coderay/scanners/plaintext.rb b/lib/coderay/scanners/plaintext.rb deleted file mode 100644 index b8ea5f5..0000000 --- a/lib/coderay/scanners/plaintext.rb +++ /dev/null @@ -1,26 +0,0 @@ -module CodeRay -module Scanners - - # Scanner for plain text. - # - # Yields just one token of the kind :plain. - # - # Alias: +plain+ - class Plaintext < Scanner - - register_for :plaintext, :plain - title 'Plain text' - - KINDS_NOT_LOC = [:plain] # :nodoc: - - protected - - def scan_tokens encoder, options - encoder.text_token string, :plain - encoder - end - - end - -end -end |