diff options
author | murphy <murphy@rubychan.de> | 2010-10-15 22:49:51 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-10-15 22:49:51 +0000 |
commit | e47a19e0b2a2bad8cedf0c9918e80ea1d67f5db9 (patch) | |
tree | 079d22d0618160ec20c4e58ab3e4a5b23653478d /lib/coderay/encoders | |
parent | 275febc7a310a4826adbe98458a5a0c4dc3eca12 (diff) | |
download | coderay-e47a19e0b2a2bad8cedf0c9918e80ea1d67f5db9.tar.gz |
Fixed Count encoder.
Diffstat (limited to 'lib/coderay/encoders')
-rw-r--r-- | lib/coderay/encoders/count.rb | 2 |
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 |