From f9bb65b346b27fe507c1e1bd31c9451b99b2a9a5 Mon Sep 17 00:00:00 2001 From: murphy Date: Wed, 28 Sep 2005 01:39:48 +0000 Subject: enhanced CodeRay interface updated demo_css.rb Rakefile: rdoc_small task added --- lib/coderay/encoder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/coderay/encoder.rb') diff --git a/lib/coderay/encoder.rb b/lib/coderay/encoder.rb index b6a22f0..53febc2 100644 --- a/lib/coderay/encoder.rb +++ b/lib/coderay/encoder.rb @@ -165,7 +165,7 @@ module CodeRay raise NotStreamableError, self unless kind_of? Streamable options = @options.merge options setup options - scanner_options = options.fetch :scanner_options, {} + scanner_options = CodeRay.get_scanner_options options @token_stream = CodeRay.scan_stream code, lang, scanner_options, &self finish options end -- cgit v1.2.1