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
Search Repo:
Resolves #209
wycats (author)
Mon Mar 24 16:27:27 -0700 2008
commit  81f348c40971437c1ed1edaff6fe5fae6951e16a
tree    83f4c4cd946b4bf6b669991756590291f425e134
parent  d79c1523cf3de716ba00d36f8e2a4694c1643299
...
358
359
360
 
 
 
361
362
363
...
358
359
360
361
362
363
364
365
366
0
@@ -358,6 +358,9 @@
0
         failed_classes.each { |k| klasses.push(k) unless klasses.include?(k) }
0
         
0
         #stop processing if nothing loads or if everything has loaded
0
+ if klasses.size == size_at_start && klasses.size != 0
0
+ raise LoadError, "Could not load #{failed_classes.inspect}."
0
+ end
0
         break if(klasses.size == size_at_start || klasses.size == 0)
0
       end
0
     end

Comments

    No one has commented yet.