summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners/plaintext.rb
blob: f00aabb8c44a7828ce61bb569b90ce7a051e01aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
module CodeRay
module Scanners

  class Plaintext < Scanner

    register_for :plaintext, :plain
    title 'Plain text'
    
    include Streamable
    
    KINDS_NOT_LOC = [:plain]
    
    def scan_tokens tokens, options
      tokens << [string, :plain]
    end

  end

end
end