summaryrefslogtreecommitdiffstats
path: root/vendor/gems/coderay-0.9.7/lib/coderay/scanners/xml.rb
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gems/coderay-0.9.7/lib/coderay/scanners/xml.rb')
-rw-r--r--vendor/gems/coderay-0.9.7/lib/coderay/scanners/xml.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/gems/coderay-0.9.7/lib/coderay/scanners/xml.rb b/vendor/gems/coderay-0.9.7/lib/coderay/scanners/xml.rb
new file mode 100644
index 000000000..aeabeca86
--- /dev/null
+++ b/vendor/gems/coderay-0.9.7/lib/coderay/scanners/xml.rb
@@ -0,0 +1,17 @@
+module CodeRay
+module Scanners
+
+ load :html
+
+ # XML Scanner
+ #
+ # Currently this is the same scanner as Scanners::HTML.
+ class XML < HTML
+
+ register_for :xml
+ file_extension 'xml'
+
+ end
+
+end
+end