summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners/xml.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2006-04-19 00:13:41 +0000
committermurphy <murphy@rubychan.de>2006-04-19 00:13:41 +0000
commitf5f50a14c523327a28b39eeb0223261434d6d9f7 (patch)
tree611e101502bed11f09f5054a59c23d0a71095eb7 /lib/coderay/scanners/xml.rb
parent8b65a055f6627a6ce6d6874219775fa1f603dd31 (diff)
downloadcoderay-f5f50a14c523327a28b39eeb0223261434d6d9f7.tar.gz
New Version: 0.7.0!
Adjusted gem.rake. HTML scanner fixed. Enhanced filetype.rb: .rake files, xml, yaml (preparing for YAML scanner.) Enhanced test/ruby/1.in.rb. Added XML scanner with example. plugin.rb: made all_plugin_names public.
Diffstat (limited to 'lib/coderay/scanners/xml.rb')
-rw-r--r--lib/coderay/scanners/xml.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/coderay/scanners/xml.rb b/lib/coderay/scanners/xml.rb
new file mode 100644
index 0000000..d1c6bad
--- /dev/null
+++ b/lib/coderay/scanners/xml.rb
@@ -0,0 +1,18 @@
+module CodeRay
+module Scanners
+
+ load :html
+
+ # XML Scanner
+ #
+ # $Id$
+ #
+ # Currently this is the same scanner as Scanners::HTML.
+ class XML < HTML
+
+ register_for :xml
+
+ end
+
+end
+end