diff options
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' |