summaryrefslogtreecommitdiff
path: root/lib/coderay/tokens.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2005-11-04 01:39:53 +0000
committermurphy <murphy@rubychan.de>2005-11-04 01:39:53 +0000
commit5def035f13086b4c764937a53a70b8cf7b97159b (patch)
treeae752e8b65e96aca178a8eb4366ab53691abafbd /lib/coderay/tokens.rb
parentfdd7eab11ddbe99a772930fb6af2586f8021f276 (diff)
downloadcoderay-5def035f13086b4c764937a53a70b8cf7b97159b.tar.gz
First victim of the Demo Tests: Bugfix in tokens.rb!
Diffstat (limited to 'lib/coderay/tokens.rb')
-rw-r--r--lib/coderay/tokens.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/tokens.rb b/lib/coderay/tokens.rb
index 9342897..e3b3305 100644
--- a/lib/coderay/tokens.rb
+++ b/lib/coderay/tokens.rb
@@ -101,7 +101,7 @@ module CodeRay
unless kind_filter
super(&block)
else
- super do |text, kind|
+ super() do |text, kind|
next unless kind == kind_filter
yield text, kind
end