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

	class Plaintext < Scanner
		
		register_for :plaintext, :plain

		def scan_tokens tokens, options
			tokens << [scan_until(/\z/), :plain]
		end

	end

end
end