10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c4c006 commit c8e21f2Copy full SHA for c8e21f2
lib/coderay.rb
@@ -127,15 +127,15 @@ module CodeRay
127
128
$CODERAY_DEBUG ||= false
129
130
- require 'coderay/version'
131
-
132
CODERAY_PATH = File.join File.dirname(__FILE__), 'coderay'
133
134
# Assuming the path is a subpath of lib/coderay/
135
def self.coderay_path *path
136
File.join CODERAY_PATH, *path
137
end
138
+ require coderay_path('version')
+
139
# helpers
140
autoload :FileType, coderay_path('helpers', 'file_type')
141
0 commit comments