summaryrefslogtreecommitdiff
path: root/lib/coderay/encoder.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2005-09-28 01:39:48 +0000
committermurphy <murphy@rubychan.de>2005-09-28 01:39:48 +0000
commitf9bb65b346b27fe507c1e1bd31c9451b99b2a9a5 (patch)
tree464e7008663f0b3e99ea41cebc2dbdc5fe6c72fc /lib/coderay/encoder.rb
parent763e5b8b4d27fae528097263007d8113d444e69d (diff)
downloadcoderay-f9bb65b346b27fe507c1e1bd31c9451b99b2a9a5.tar.gz
enhanced CodeRay interface
updated demo_css.rb Rakefile: rdoc_small task added
Diffstat (limited to 'lib/coderay/encoder.rb')
-rw-r--r--lib/coderay/encoder.rb2
1 files changed, 1 insertions, 1 deletions
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