From 3ecc8116cc06289724f9a2ccf734e99d843abc79 Mon Sep 17 00:00:00 2001 From: murphy Date: Tue, 24 Apr 2007 12:26:18 +0000 Subject: Benchmark, comparison: replaced SilverCity with pygments A bit of code and documentation cleanup HTML encoder: fixed css class output for NO_HIGHLIGHT tokens when :info is set. Fixed Text encoder. --- 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 e2d6888..9d11c0e 100644 --- a/lib/coderay/duo.rb +++ b/lib/coderay/duo.rb @@ -35,7 +35,7 @@ module CodeRay # CodeRay::Duo[:ruby => :statistic].encode 'class << self; end' # # alternative syntax with options: - # CodeRay::Duo[(:ruby => :statistic), :do => :something].encode 'abc' + # CodeRay::Duo[{ :ruby => :statistic }, :do => :something].encode 'abc' # # The options are forwarded to scanner and encoder # (see CodeRay.get_scanner_options). -- cgit v1.2.1