1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

No need for reloading any more

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@431 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2005-01-16 17:58:54 +00:00
parent 954fd97d00
commit 92a29257b5

View file

@ -26,12 +26,6 @@ module Dependencies
def associate_with(file_name)
depend_on(file_name, true)
end
def reload
reloading = loaded.dup
clear
reloading.each { |file_name| depend_on(file_name, true) }
end
def clear
self.loaded = [ ]