summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/html.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2010-06-01 18:10:30 +0000
committermurphy <murphy@rubychan.de>2010-06-01 18:10:30 +0000
commit7284b3674bada6a009bdfa23bd822a6ba6fc4896 (patch)
treeabe6ca1b1be78688e70517ef92ad6e5b7284c7a6 /lib/coderay/encoders/html.rb
parent5bf55e552d7dc3eac362e2b881afaa8039995a59 (diff)
downloadcoderay-7284b3674bada6a009bdfa23bd822a6ba6fc4896.tar.gz
Cleanups in Encoders::HTML::Output.
Diffstat (limited to 'lib/coderay/encoders/html.rb')
-rw-r--r--lib/coderay/encoders/html.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/coderay/encoders/html.rb b/lib/coderay/encoders/html.rb
index f14c1cc..eed4dfe 100644
--- a/lib/coderay/encoders/html.rb
+++ b/lib/coderay/encoders/html.rb
@@ -111,7 +111,7 @@ module Encoders
:hint => false,
}
- helper :output, :css
+ helper :output, :numbering, :css
attr_reader :css
@@ -233,7 +233,7 @@ module Encoders
@out.extend Output
@out.css = @css
- @out.numerize! options[:line_numbers], options
+ @out.number! options[:line_numbers], options
@out.wrap! options[:wrap]
@out.apply_title! options[:title]