summaryrefslogtreecommitdiff
path: root/lib/coderay/duo.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2006-05-11 23:32:49 +0000
committermurphy <murphy@rubychan.de>2006-05-11 23:32:49 +0000
commitb4a4f4148a1627aed63c602f43bd4b5ef5093c4f (patch)
tree9709696cde081419c118215ea31690e1c0bb6dfd /lib/coderay/duo.rb
parentf5f50a14c523327a28b39eeb0223261434d6d9f7 (diff)
downloadcoderay-b4a4f4148a1627aed63c602f43bd4b5ef5093c4f.tar.gz
new version: 0.7.1
improved bin/coderay and included it into package added gem:install task added Duo#highlight (alias for encode) fixed a Plugin bug
Diffstat (limited to 'lib/coderay/duo.rb')
-rw-r--r--lib/coderay/duo.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/coderay/duo.rb b/lib/coderay/duo.rb
index 1957c95..e4e80df 100644
--- a/lib/coderay/duo.rb
+++ b/lib/coderay/duo.rb
@@ -22,6 +22,7 @@ module CodeRay
@scanner.string = code
@encoder.encode_tokens(scanner.tokenize)
end
+ alias highlight encode
end