diff options
author | murphy <murphy@rubychan.de> | 2009-04-14 01:31:51 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2009-04-14 01:31:51 +0000 |
commit | d6d19bb78824977a2a95751e7c6aeaa5996ea807 (patch) | |
tree | a1be2e5449a6b50774472d2f9fa8ca4f29cfc06c /sample/html.rb | |
parent | 0c370e0c7ae01d2451af53bb777c4ba97f3170d6 (diff) | |
download | coderay-d6d19bb78824977a2a95751e7c6aeaa5996ea807.tar.gz |
Fixing sample tests.
Diffstat (limited to 'sample/html.rb')
-rw-r--r-- | sample/html.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sample/html.rb b/sample/html.rb index c854635..c18284a 100644 --- a/sample/html.rb +++ b/sample/html.rb @@ -2,9 +2,9 @@ $: << '..' require 'coderay' tokens = CodeRay.scan DATA.read, :ruby -html = tokens.html(:tab_width => 2, :line_numbers => :table) +html = tokens.page(:tab_width => 2, :line_numbers => :table, :title => 'CodeRay HTML Encoder Example') -puts html.page +puts html __END__ require 'scanner' |