Mercurial > hg > soundsoftware-site
annotate vendor/gems/coderay-1.0.0/lib/coderay/scanners/xml.rb @ 1022:f2ec92061fca browsing
Merge from live branch
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Tue, 13 Nov 2012 10:35:40 +0000 |
parents | cbb26bc654de |
children |
rev | line source |
---|---|
Chris@909 | 1 module CodeRay |
Chris@909 | 2 module Scanners |
Chris@909 | 3 |
Chris@909 | 4 load :html |
Chris@909 | 5 |
Chris@909 | 6 # Scanner for XML. |
Chris@909 | 7 # |
Chris@909 | 8 # Currently this is the same scanner as Scanners::HTML. |
Chris@909 | 9 class XML < HTML |
Chris@909 | 10 |
Chris@909 | 11 register_for :xml |
Chris@909 | 12 file_extension 'xml' |
Chris@909 | 13 |
Chris@909 | 14 end |
Chris@909 | 15 |
Chris@909 | 16 end |
Chris@909 | 17 end |