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.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 05e4fa4..10e89fc 100644
--- a/lib/coderay/encoders/html/css.rb
+++ b/lib/coderay/encoders/html/css.rb
@@ -20,7 +20,7 @@ module Encoders
parse style::TOKEN_COLORS
end
- def [] *styles
+ def get_style styles
cl = @classes[styles.first]
return '' unless cl
style = ''