From da09c7c6bb1267996db7751e775d08742256f3f2 Mon Sep 17 00:00:00 2001 From: murphy Date: Mon, 1 Jan 2007 16:26:17 +0000 Subject: New Scanner: Scheme (thanks closure!) Test and example added. Token changed: operator_fat instead of operator_name (for use with LISP-like parentheses). Added file_extension for Scanners. Improved CodeRay::Suite: - uses scanners file extension now - example parameter is now named "only" - only param overwrite MAX_CODE_SIZE_TO_HIGHLIGHT --- lib/coderay/scanners/ruby.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/coderay/scanners/ruby.rb') diff --git a/lib/coderay/scanners/ruby.rb b/lib/coderay/scanners/ruby.rb index b373a2b..d497731 100644 --- a/lib/coderay/scanners/ruby.rb +++ b/lib/coderay/scanners/ruby.rb @@ -18,6 +18,7 @@ module Scanners include Streamable register_for :ruby + file_extension 'rb' helper :patterns -- cgit v1.2.1