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:
parent
954fd97d00
commit
92a29257b5
1 changed files with 0 additions and 6 deletions
|
@ -26,12 +26,6 @@ module Dependencies
|
||||||
def associate_with(file_name)
|
def associate_with(file_name)
|
||||||
depend_on(file_name, true)
|
depend_on(file_name, true)
|
||||||
end
|
end
|
||||||
|
|
||||||
def reload
|
|
||||||
reloading = loaded.dup
|
|
||||||
clear
|
|
||||||
reloading.each { |file_name| depend_on(file_name, true) }
|
|
||||||
end
|
|
||||||
|
|
||||||
def clear
|
def clear
|
||||||
self.loaded = [ ]
|
self.loaded = [ ]
|
||||||
|
|
Loading…
Reference in a new issue