From d6d19bb78824977a2a95751e7c6aeaa5996ea807 Mon Sep 17 00:00:00 2001 From: murphy Date: Tue, 14 Apr 2009 01:31:51 +0000 Subject: Fixing sample tests. --- sample/html.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sample/html.rb') 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' -- cgit v1.2.1