From f5f50a14c523327a28b39eeb0223261434d6d9f7 Mon Sep 17 00:00:00 2001 From: murphy Date: Wed, 19 Apr 2006 00:13:41 +0000 Subject: 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. --- lib/coderay/scanners/xml.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 lib/coderay/scanners/xml.rb (limited to 'lib/coderay/scanners/xml.rb') 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 -- cgit v1.2.1