summaryrefslogtreecommitdiff
path: root/lib/coderay.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2006-10-20 07:12:31 +0000
committermurphy <murphy@rubychan.de>2006-10-20 07:12:31 +0000
commit3546be0ac6cbb3e0558152c842c49a19c6444190 (patch)
tree04c109daa5aa4e78ea3dafb69b634eb6880d971c /lib/coderay.rb
parentdbf15fbf165af92e7d3d31e9d4bd8f31a3e307c6 (diff)
downloadcoderay-3546be0ac6cbb3e0558152c842c49a19c6444190.tar.gz
Changed require to file_type.rb.
Diffstat (limited to 'lib/coderay.rb')
-rw-r--r--lib/coderay.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay.rb b/lib/coderay.rb
index be88a90..c8ad957 100644
--- a/lib/coderay.rb
+++ b/lib/coderay.rb
@@ -170,7 +170,7 @@ module CodeRay
def scan_file filename, lang = :auto, options = {}, &block
file = IO.read filename
if lang == :auto
- require 'coderay/helpers/filetype'
+ require 'coderay/helpers/file_type'
lang = FileType.fetch filename, :plaintext, true
end
scan file, lang, options = {}, &block