diff options
| author | murphy <murphy@rubychan.de> | 2005-11-04 01:39:53 +0000 |
|---|---|---|
| committer | murphy <murphy@rubychan.de> | 2005-11-04 01:39:53 +0000 |
| commit | 5def035f13086b4c764937a53a70b8cf7b97159b (patch) | |
| tree | ae752e8b65e96aca178a8eb4366ab53691abafbd /lib/coderay | |
| parent | fdd7eab11ddbe99a772930fb6af2586f8021f276 (diff) | |
| download | coderay-5def035f13086b4c764937a53a70b8cf7b97159b.tar.gz | |
First victim of the Demo Tests: Bugfix in tokens.rb!
Diffstat (limited to 'lib/coderay')
| -rw-r--r-- | lib/coderay/tokens.rb | 2 |
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
|
