From ff17e4ab2dedf7122acb325e3ebf6acebfbfe9cf Mon Sep 17 00:00:00 2001 From: murphy Date: Mon, 7 Mar 2011 22:50:03 +0000 Subject: Don't use CodeRay::Duo for executable.' --- bin/coderay | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/coderay b/bin/coderay index ef819f7..690d8fc 100755 --- a/bin/coderay +++ b/bin/coderay @@ -73,7 +73,7 @@ Examples: end if tokens == :scan - output = CodeRay::Duo[lang => format].highlight input + output = CodeRay.encoder(format).encode(input, lang) else output = tokens.encode format end -- cgit v1.2.1