summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2009-05-02 02:49:13 +0000
committermurphy <murphy@rubychan.de>2009-05-02 02:49:13 +0000
commit91beefbe4d7d00e725ccc1f4a810dd3081df2103 (patch)
tree0fdd94bd0a384827405559611b9dba1975ffdc11 /lib/coderay/encoders
parentaba41d318eccca362c127ab6fc7eef55d715a156 (diff)
downloadcoderay-91beefbe4d7d00e725ccc1f4a810dd3081df2103.tar.gz
Changed a $DEBUG raise into a puts (issue #99).
Thanks to sunaku for reporting this.
Diffstat (limited to 'lib/coderay/encoders')
-rw-r--r--lib/coderay/encoders/html/css.rb2
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