diff options
Diffstat (limited to 'lib/coderay/encoders/count.rb')
-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 |