summaryrefslogtreecommitdiff
path: root/demo/demo_more.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2005-11-13 06:24:54 +0000
committermurphy <murphy@rubychan.de>2005-11-13 06:24:54 +0000
commitb60448c9788d37d7c0ab9cd0a3f0337861c64843 (patch)
treeb4046870310445532e0ff9b6aef70bc17086ab62 /demo/demo_more.rb
parent07da5153646a7ae0a9551533221870c47ec950d2 (diff)
downloadcoderay-b60448c9788d37d7c0ab9cd0a3f0337861c64843.tar.gz
New Style system added - still beta.
Demos adjusted coderay.rb, encoders/html.rb, encoders/div.rb adjusted. encoders/html/* files rebuild.
Diffstat (limited to 'demo/demo_more.rb')
-rw-r--r--demo/demo_more.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/demo_more.rb b/demo/demo_more.rb
index fb718dd..0db7ba4 100644
--- a/demo/demo_more.rb
+++ b/demo/demo_more.rb
@@ -17,7 +17,7 @@ time = Benchmark.realtime do
body = %w[C Ruby Genereated\ by].zip([c, ruby, me]).map do |title, code|
"<h1>#{title}</h1>\n#{code}"
end.join
- body = hl.class::Output.new(body, :div).page!
+ body = hl.class::Output.new(body, hl.css, :div).page!
# CodeRay also provides a simple page generator
$output = body #hl.class.wrap_in_page body