From 91beefbe4d7d00e725ccc1f4a810dd3081df2103 Mon Sep 17 00:00:00 2001 From: murphy Date: Sat, 2 May 2009 02:49:13 +0000 Subject: Changed a $DEBUG raise into a puts (issue #99). Thanks to sunaku for reporting this. --- lib/coderay/encoders/html/css.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/coderay/encoders/html/css.rb') 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 -- cgit v1.2.1