diff options
author | murphy <murphy@rubychan.de> | 2005-09-28 01:39:48 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2005-09-28 01:39:48 +0000 |
commit | f9bb65b346b27fe507c1e1bd31c9451b99b2a9a5 (patch) | |
tree | 464e7008663f0b3e99ea41cebc2dbdc5fe6c72fc /lib/coderay/encoder.rb | |
parent | 763e5b8b4d27fae528097263007d8113d444e69d (diff) | |
download | coderay-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.rb | 2 |
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
|