diff options
author | murphy <murphy@rubychan.de> | 2009-05-02 02:49:13 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2009-05-02 02:49:13 +0000 |
commit | 91beefbe4d7d00e725ccc1f4a810dd3081df2103 (patch) | |
tree | 0fdd94bd0a384827405559611b9dba1975ffdc11 | |
parent | aba41d318eccca362c127ab6fc7eef55d715a156 (diff) | |
download | coderay-91beefbe4d7d00e725ccc1f4a810dd3081df2103.tar.gz |
Changed a $DEBUG raise into a puts (issue #99).
Thanks to sunaku for reporting this.
-rw-r--r-- | lib/coderay/encoders/html/css.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/encoders/html/css.rb b/lib/coderay/encoders/html/css.rb index e680f82..03c2634 100644 --- a/lib/coderay/encoders/html/css.rb +++ b/lib/coderay/encoders/html/css.rb @@ -27,7 +27,7 @@ module Encoders 1.upto(styles.size) do |offset| break if style = cl[styles[offset .. -1]] end - raise 'Style not found: %p' % [styles] if $DEBUG and style.empty? + $stderr.puts 'Style not found: %p' % [styles] if $DEBUG and style.empty? return style end |