summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders
diff options
context:
space:
mode:
Diffstat (limited to 'lib/coderay/encoders')
-rw-r--r--lib/coderay/encoders/helpers/html_output.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/encoders/helpers/html_output.rb b/lib/coderay/encoders/helpers/html_output.rb
index aa6a8c9..692e810 100644
--- a/lib/coderay/encoders/helpers/html_output.rb
+++ b/lib/coderay/encoders/helpers/html_output.rb
@@ -44,7 +44,7 @@ module CodeRay
define_method wrapper do |*args|
wrap wrapper, *args
end
- define_method(:"#{wrapper}!") do |*args|
+ define_method "#{wrapper}!".to_sym do |*args|
wrap! wrapper, *args
end
end