From d21348f85036273fd8f370a6a850e1c0440c6b02 Mon Sep 17 00:00:00 2001 From: Kornelius Kalnbach Date: Tue, 22 Oct 2013 03:00:46 +0200 Subject: tweaks --- lib/coderay/scanners.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/coderay/scanners.rb') diff --git a/lib/coderay/scanners.rb b/lib/coderay/scanners.rb index f824f50..8d8156f 100644 --- a/lib/coderay/scanners.rb +++ b/lib/coderay/scanners.rb @@ -16,8 +16,12 @@ module CodeRay # # See PluginHost. module Scanners + extend PluginHost plugin_path File.dirname(__FILE__), 'scanners' + + autoload :Encoder, CodeRay.coderay_path('scanners', 'scanner') + end end -- cgit v1.2.1