summaryrefslogtreecommitdiff
path: root/lib/coderay
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2010-10-15 22:49:51 +0000
committermurphy <murphy@rubychan.de>2010-10-15 22:49:51 +0000
commite47a19e0b2a2bad8cedf0c9918e80ea1d67f5db9 (patch)
tree079d22d0618160ec20c4e58ab3e4a5b23653478d /lib/coderay
parent275febc7a310a4826adbe98458a5a0c4dc3eca12 (diff)
downloadcoderay-e47a19e0b2a2bad8cedf0c9918e80ea1d67f5db9.tar.gz
Fixed Count encoder.
Diffstat (limited to 'lib/coderay')
-rw-r--r--lib/coderay/encoders/count.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/coderay/encoders/count.rb b/lib/coderay/encoders/count.rb
index c28d67f..52d4bdd 100644
--- a/lib/coderay/encoders/count.rb
+++ b/lib/coderay/encoders/count.rb
@@ -14,6 +14,8 @@ module Encoders
@out = 0
end
+ public
+
def text_token text, kind
@out += 1
end