diff options
| author | murphy <murphy@rubychan.de> | 2006-03-15 21:58:19 +0000 |
|---|---|---|
| committer | murphy <murphy@rubychan.de> | 2006-03-15 21:58:19 +0000 |
| commit | fea5260ce014ee521955c5afc929f3cae71a4c73 (patch) | |
| tree | ba5cab1cf24a5cf31e7202d212d78792012884a5 /lib/coderay/encoders/html/output.rb | |
| parent | 3b4a0d83ddd0eec0dc424798ad8ed3a53c5ba88c (diff) | |
| download | coderay-fea5260ce014ee521955c5afc929f3cae71a4c73.tar.gz | |
Ruby scanner errors fixed.
demo_dump and demo_encoder updated for new YAML version.
Fixes in output.rb and numerization.rb
Diffstat (limited to 'lib/coderay/encoders/html/output.rb')
| -rw-r--r-- | lib/coderay/encoders/html/output.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/encoders/html/output.rb b/lib/coderay/encoders/html/output.rb index 36018a7..8096dc8 100644 --- a/lib/coderay/encoders/html/output.rb +++ b/lib/coderay/encoders/html/output.rb @@ -25,7 +25,7 @@ module CodeRay #
# a = Output.new '<span class="co">Code</span>'
# a.wrap! :page
- def new string, css, element = nil
+ def new string, css = CSS.new, element = nil
output = string.clone.extend self
output.wrapped_in = element
output.css = css
|
