summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2011-12-27 02:39:02 +0100
committerKornelius Kalnbach <murphy@rubychan.de>2011-12-27 02:39:02 +0100
commit5c4c0065784c6420224516e13a0c50d86e792363 (patch)
treef150f672a18b306896b3db3234ec2d5bdbab42ee /lib/coderay/encoders
parentb3807c5aa09901f50dca09b7927f37b1902ee32f (diff)
downloadcoderay-5c4c0065784c6420224516e13a0c50d86e792363.tar.gz
Bug #6: merge ConradIrwin's approach with korny's
Diffstat (limited to 'lib/coderay/encoders')
-rw-r--r--lib/coderay/encoders/html.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/coderay/encoders/html.rb b/lib/coderay/encoders/html.rb
index c5d680c..c32dbd1 100644
--- a/lib/coderay/encoders/html.rb
+++ b/lib/coderay/encoders/html.rb
@@ -109,9 +109,9 @@ module Encoders
:hint => false,
}
- autoload :Output, CodeRay.abs_path('coderay/encoders/html/output')
- autoload :CSS, CodeRay.abs_path('coderay/encoders/html/css')
- autoload :Numbering, CodeRay.abs_path('coderay/encoders/html/numbering')
+ autoload :Output, CodeRay.coderay_path('encoders', 'html', 'output')
+ autoload :CSS, CodeRay.coderay_path('encoders', 'html', 'css')
+ autoload :Numbering, CodeRay.coderay_path('encoders', 'html', 'numbering')
attr_reader :css