diff options
author | murphy <murphy@rubychan.de> | 2010-06-01 18:10:30 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-06-01 18:10:30 +0000 |
commit | 7284b3674bada6a009bdfa23bd822a6ba6fc4896 (patch) | |
tree | abe6ca1b1be78688e70517ef92ad6e5b7284c7a6 /lib/coderay/encoders/html | |
parent | 5bf55e552d7dc3eac362e2b881afaa8039995a59 (diff) | |
download | coderay-7284b3674bada6a009bdfa23bd822a6ba6fc4896.tar.gz |
Cleanups in Encoders::HTML::Output.
Diffstat (limited to 'lib/coderay/encoders/html')
-rw-r--r-- | lib/coderay/encoders/html/numbering.rb (renamed from lib/coderay/encoders/html/numerization.rb) | 8 | ||||
-rw-r--r-- | lib/coderay/encoders/html/output.rb | 2 |
2 files changed, 2 insertions, 8 deletions
diff --git a/lib/coderay/encoders/html/numerization.rb b/lib/coderay/encoders/html/numbering.rb index 1590ad0..3a7edce 100644 --- a/lib/coderay/encoders/html/numerization.rb +++ b/lib/coderay/encoders/html/numbering.rb @@ -3,13 +3,9 @@ module Encoders class HTML - module Output + module Output # :nodoc: - def numerize *args - clone.numerize!(*args) - end - - def numerize! mode = :table, options = {} + def number! mode = :table, options = {} return self unless mode options = DEFAULT_OPTIONS.merge options diff --git a/lib/coderay/encoders/html/output.rb b/lib/coderay/encoders/html/output.rb index 533235d..dec1d7c 100644 --- a/lib/coderay/encoders/html/output.rb +++ b/lib/coderay/encoders/html/output.rb @@ -13,8 +13,6 @@ module Encoders # TODO: more doc. module Output - require 'coderay/encoders/html/numerization.rb' - attr_accessor :css class << self |