From 6a52b213edf1f146fb72a055466a35fe219e5a0d Mon Sep 17 00:00:00 2001 From: murphy Date: Mon, 4 Jul 2011 00:38:27 +0000 Subject: cleanups: Page encoder is default for HTML, benchmark KB/s instead of tokens/s --- lib/coderay/duo.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/coderay/duo.rb') diff --git a/lib/coderay/duo.rb b/lib/coderay/duo.rb index 171768c..cb3f8ee 100644 --- a/lib/coderay/duo.rb +++ b/lib/coderay/duo.rb @@ -21,7 +21,7 @@ module CodeRay # Create a new Duo, holding a lang and a format to highlight code. # # simple: - # CodeRay::Duo[:ruby, :page].highlight 'bla 42' + # CodeRay::Duo[:ruby, :html].highlight 'bla 42' # # with options: # CodeRay::Duo[:ruby, :html, :hint => :debug].highlight '????::??' -- cgit v1.2.1