Skip to content

Commit f32eb2d

Browse files
committed
use coderay_path on all autoload calls
1 parent 964397d commit f32eb2d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/coderay/scanner.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
require 'strscan'
33

44
module CodeRay
5-
6-
autoload :WordList, 'coderay/helpers/word_list'
5+
6+
autoload :WordList, coderay_path('helpers', 'word_list')
77

88
# = Scanners
99
#

lib/coderay/tokens.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module CodeRay
22

33
# GZip library for writing and reading token dumps.
4-
autoload :GZip, 'coderay/helpers/gzip'
4+
autoload :GZip, coderay_path('helpers', 'gzip')
55

66
# = Tokens TODO: Rewrite!
77
#

0 commit comments

Comments
 (0)