summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2011-03-07 22:50:03 +0000
committermurphy <murphy@rubychan.de>2011-03-07 22:50:03 +0000
commitff17e4ab2dedf7122acb325e3ebf6acebfbfe9cf (patch)
tree6d64cba42b925c8453b3e7da681b27448e6e3347 /bin
parentf8c376534a3e5df0455d40bcf94e712812660428 (diff)
downloadcoderay-ff17e4ab2dedf7122acb325e3ebf6acebfbfe9cf.tar.gz
Don't use CodeRay::Duo for executable.'
Diffstat (limited to 'bin')
-rwxr-xr-xbin/coderay2
1 files changed, 1 insertions, 1 deletions
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