public
Rubygem
Description: Merb Core: All you need. None you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-core.git
ADd push_paths to the load path.
wycats (author)
Wed Jul 23 17:07:47 -0700 2008
commit  bfbb9e0744465d1ee9cfbd8aab7e7c68a5c098d2
tree    be888cd5be397fce02efafb8176414a1da3e273b
parent  dea5b6914daa668e01ded198281441796925a3d5
...
168
169
170
 
171
172
173
...
168
169
170
171
172
173
174
0
@@ -168,6 +168,7 @@ module Merb
0
     # "**/*.rb".
0
     def push_path(type, path, file_glob = "**/*.rb")
0
       enforce!(type => Symbol)
0
+ $:.unshift File.expand_path(path)
0
       load_paths[type] = [path, file_glob]
0
     end
0
 

Comments

    No one has commented yet.