summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/html/css.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/coderay/encoders/html/css.rb')
-rw-r--r--lib/coderay/encoders/html/css.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/coderay/encoders/html/css.rb b/lib/coderay/encoders/html/css.rb
index 03c2634..05e4fa4 100644
--- a/lib/coderay/encoders/html/css.rb
+++ b/lib/coderay/encoders/html/css.rb
@@ -2,7 +2,7 @@ module CodeRay
module Encoders
class HTML
- class CSS
+ class CSS # :nodoc:
attr :stylesheet
@@ -24,10 +24,10 @@ module Encoders
cl = @classes[styles.first]
return '' unless cl
style = ''
- 1.upto(styles.size) do |offset|
+ 1.upto styles.size do |offset|
break if style = cl[styles[offset .. -1]]
end
- $stderr.puts 'Style not found: %p' % [styles] if $DEBUG and style.empty?
+ # warn 'Style not found: %p' % [styles] if style.empty?
return style
end